Failed
tests / 05 testsuite-clang 2/3 / openmodelica_cppruntime.mslElectricalMachinesTestDAE.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ mslElectricalMachinesTestDAE ... equation mismatch [time: 5] ==== Log /tmp/omc-rtest-unknown/openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp9391/log-mslElectricalMachinesTestDAE.mos true true true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 2.5, numberOfIntervals = 25000, tolerance = 1e-6, method = 'ida', fileNamePrefix = 'Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer" end SimulationResult; "Error: Error building simulator. Build log: clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/cpp/\" -I. -I\".\" -I\".\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/include/omc/sundials\" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp In file included from OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp:31: ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:277:18: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(0) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(8)) - _Ajac_x(7)); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:350:18: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(6) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(7)) - _Ajac_x(48)); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:456:58: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(7) = (_Ajac_tmp(147) + (_aimc_P_lszero_P_L_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(6)))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:464:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(13) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(4)) + ((_Ajac_tmp(71) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(5) * __zDot[1]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) - _Ajac_x(41)) - (_Ajac_tmp(6) * __zDot[2])) - (_Ajac_tmp(72) * __z[2])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(5))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:464:275: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(13) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(4)) + ((_Ajac_tmp(71) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(5) * __zDot[1]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) - _Ajac_x(41)) - (_Ajac_tmp(6) * __zDot[2])) - (_Ajac_tmp(72) * __z[2])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(5))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:465:73: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(14) = (((-_Ajac_x(40)) - (_aimc_P_squirrelCageR_P_Lrsigma_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5)))) - (_aimc_P_squirrelCageR_P_Rr_actual_ * _Ajac_x(5))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:468:73: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(17) = (((-_Ajac_x(38)) - (_aimc_P_squirrelCageR_P_Lrsigma_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4)))) - (_aimc_P_squirrelCageR_P_Rr_actual_ * _Ajac_x(4))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:469:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(18) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(5)) + ((_Ajac_tmp(71) * __z[2]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) + ((_Ajac_tmp(5) * __zDot[2]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(4)) + ((_Ajac_tmp(72) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(6) * __zDot[1]) - _Ajac_x(37))))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:469:368: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(18) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(5)) + ((_Ajac_tmp(71) * __z[2]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) + ((_Ajac_tmp(5) * __zDot[2]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(4)) + ((_Ajac_tmp(72) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(6) * __zDot[1]) - _Ajac_x(37))))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:473:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(22) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(2)) + ((_Ajac_tmp(71) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(5) * __zDot[3]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) - _Ajac_x(46)) - (_Ajac_tmp(6) * __zDot[4])) - (_Ajac_tmp(72) * __z[4])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(3))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:473:275: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(22) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(2)) + ((_Ajac_tmp(71) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(5) * __zDot[3]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) - _Ajac_x(46)) - (_Ajac_tmp(6) * __zDot[4])) - (_Ajac_tmp(72) * __z[4])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(3))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:474:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(23) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(3)) + ((_Ajac_tmp(71) * __z[4]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) + ((_Ajac_tmp(5) * __zDot[4]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(2)) + ((_Ajac_tmp(72) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(6) * __zDot[3]) - _Ajac_x(36))))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:474:368: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(23) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(3)) + ((_Ajac_tmp(71) * __z[4]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) + ((_Ajac_tmp(5) * __zDot[4]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(2)) + ((_Ajac_tmp(72) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(6) * __zDot[3]) - _Ajac_x(36))))))))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:485:76: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(27) = (_Ajac_x(31) - (_transformer_P_l1sigma_P_inductor2_P_L_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(0)))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:495:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(37) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(1)) + (division(_Ajac_x(21),_transformer_P_core_P_n12_,!_initial,\"transformer.core.n12\") + division(_Ajac_x(21),_transformer_P_core_P_n13_,!_initial,\"transformer.core.n13\"))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:496:76: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(38) = (_Ajac_x(20) - (_transformer_P_l1sigma_P_inductor3_P_L_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(1)))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:505:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(47) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(0)) + (division(_Ajac_x(12),_transformer_P_core_P_n12_,!_initial,\"transformer.core.n12\") + division(_Ajac_x(12),_transformer_P_core_P_n13_,!_initial,\"transformer.core.n13\"))); ^ ./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:506:33: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' _Ajac_y(48) = (_Ajac_x(11) + (_omcQ_24DAE_5FCJ_ * (_Ajac_x(0) + _Ajac_x(1)))); ^ 18 errors generated. make: *** [<builtin>: OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o] Error 1 " Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp9391/equations-expected2024-01-20 03:54:45.900353801 +0000 +++ /tmp/omc-rtest-unknown/openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp9391/equations-got2024-01-20 03:54:50.160296413 +0000 @@ -1,13 +1,71 @@ true true true "" record SimulationResult -resultFile = "Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 2.5, numberOfIntervals = 25000, tolerance = 1e-06, method = 'ida', fileNamePrefix = 'Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 2.5, numberOfIntervals = 25000, tolerance = 1e-6, method = 'ida', fileNamePrefix = 'Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer" end SimulationResult; -173.2124789170594 -150.8435549841741 -161.396425531771 -"" + + + +"Error: Error building simulator. Build log: clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/bin/../include/omc/cpp/\" -I. -I\".\" -I\".\" -I\"/var/lib/jenkins/ws/OpenModelica_PR-9221/build/include/omc/sundials\" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp +In file included from OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.cpp:31: +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:277:18: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(0) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(8)) - _Ajac_x(7)); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:350:18: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(6) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(7)) - _Ajac_x(48)); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:456:58: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(7) = (_Ajac_tmp(147) + (_aimc_P_lszero_P_L_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(6)))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:464:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(13) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(4)) + ((_Ajac_tmp(71) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(5) * __zDot[1]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) - _Ajac_x(41)) - (_Ajac_tmp(6) * __zDot[2])) - (_Ajac_tmp(72) * __z[2])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(5))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:464:275: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(13) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(4)) + ((_Ajac_tmp(71) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(5) * __zDot[1]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) - _Ajac_x(41)) - (_Ajac_tmp(6) * __zDot[2])) - (_Ajac_tmp(72) * __z[2])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(5))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:465:73: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(14) = (((-_Ajac_x(40)) - (_aimc_P_squirrelCageR_P_Lrsigma_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5)))) - (_aimc_P_squirrelCageR_P_Rr_actual_ * _Ajac_x(5))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:468:73: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(17) = (((-_Ajac_x(38)) - (_aimc_P_squirrelCageR_P_Lrsigma_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4)))) - (_aimc_P_squirrelCageR_P_Rr_actual_ * _Ajac_x(4))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:469:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(18) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(5)) + ((_Ajac_tmp(71) * __z[2]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) + ((_Ajac_tmp(5) * __zDot[2]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(4)) + ((_Ajac_tmp(72) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(6) * __zDot[1]) - _Ajac_x(37))))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:469:368: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(18) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(5)) + ((_Ajac_tmp(71) * __z[2]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(5))) + ((_Ajac_tmp(5) * __zDot[2]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(4)) + ((_Ajac_tmp(72) * __z[1]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(4))) + ((_Ajac_tmp(6) * __zDot[1]) - _Ajac_x(37))))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:473:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(22) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(2)) + ((_Ajac_tmp(71) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(5) * __zDot[3]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) - _Ajac_x(46)) - (_Ajac_tmp(6) * __zDot[4])) - (_Ajac_tmp(72) * __z[4])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(3))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:473:275: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(22) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(2)) + ((_Ajac_tmp(71) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(5) * __zDot[3]) + ((((((-_aimc_P_airGapS_P_RotationMatrix_(2,1)) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) - _Ajac_x(46)) - (_Ajac_tmp(6) * __zDot[4])) - (_Ajac_tmp(72) * __z[4])) - (__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(3))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:474:160: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(23) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(3)) + ((_Ajac_tmp(71) * __z[4]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) + ((_Ajac_tmp(5) * __zDot[4]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(2)) + ((_Ajac_tmp(72) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(6) * __zDot[3]) - _Ajac_x(36))))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:474:368: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(23) = ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,2) * _Ajac_x(3)) + ((_Ajac_tmp(71) * __z[4]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,2) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(3))) + ((_Ajac_tmp(5) * __zDot[4]) + ((__omcQ_24DER_P_aimc_P_airGapS_P_RotationMatrix_(2,1) * _Ajac_x(2)) + ((_Ajac_tmp(72) * __z[3]) + ((_aimc_P_airGapS_P_RotationMatrix_(2,1) * (_omcQ_24DAE_5FCJ_ * _Ajac_x(2))) + ((_Ajac_tmp(6) * __zDot[3]) - _Ajac_x(36))))))))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:485:76: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(27) = (_Ajac_x(31) - (_transformer_P_l1sigma_P_inductor2_P_L_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(0)))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:495:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(37) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(1)) + (division(_Ajac_x(21),_transformer_P_core_P_n12_,!_initial,\"transformer.core.n12\") + division(_Ajac_x(21),_transformer_P_core_P_n13_,!_initial,\"transformer.core.n13\"))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:496:76: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(38) = (_Ajac_x(20) - (_transformer_P_l1sigma_P_inductor3_P_L_ * (_omcQ_24DAE_5FCJ_ * _Ajac_x(1)))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:505:19: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(47) = ((_omcQ_24DAE_5FCJ_ * _Ajac_x(0)) + (division(_Ajac_x(12),_transformer_P_core_P_n12_,!_initial,\"transformer.core.n12\") + division(_Ajac_x(12),_transformer_P_core_P_n13_,!_initial,\"transformer.core.n13\"))); +^ +./OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerJacobian.cpp:506:33: error: use of undeclared identifier '_omcQ_24DAE_5FCJ_' +_Ajac_y(48) = (_Ajac_x(11) + (_omcQ_24DAE_5FCJ_ * (_Ajac_x(0) + _Ajac_x(1)))); +^ +18 errors generated. +make: *** [<builtin>: OMCppModelica.Electrical.Machines.Examples.Transformers.AIMC_TransformerCalcHelperMain.o] Error 1 +" Equation mismatch: omc-diff says: Failed 'M' '"' Line 6: Text differs: expected: resultFile = "Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cppruntime/mslElectricalMachinesTestDAE.mos_temp9391, time: 5]