Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|imcQS.rotorCage.port_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009885/0.0009884, allocations: 195.3 kB / 18.06 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007729/0.0007726, allocations: 98.05 kB / 297.4 MB, free: 6.895 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002179/0.0002179, allocations: 4 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1963, allocations: 51.29 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.4802, allocations: 128.2 MB / 0.5243 GB, free: 89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4805, allocations: 109.4 kB / 0.5244 GB, free: 88.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9431/1.424, allocations: 351.8 MB / 0.8679 GB, free: 39.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.424, allocations: 3.172 kB / 0.8679 GB, free: 39.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000473/1.424, allocations: 203.3 kB / 0.8681 GB, free: 39.07 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2620 * Number of variables: 2620 Notification: Performance of Generate backend data structure: time 0.02524/1.449, allocations: 9.345 MB / 0.8772 GB, free: 36.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.449, allocations: 10.28 kB / 0.8772 GB, free: 36.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/1.469, allocations: 4.234 MB / 0.8814 GB, free: 35.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/1.483, allocations: 7.43 MB / 0.8886 GB, free: 34.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004806/1.483, allocations: 0.6721 MB / 0.8893 GB, free: 34.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/1.486, allocations: 0.8836 MB / 0.8901 GB, free: 34.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/1.513, allocations: 15.66 MB / 0.9054 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/1.514, allocations: 18.38 kB / 0.9054 GB, free: 33.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00199/1.516, allocations: 387.8 kB / 0.9058 GB, free: 33.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006036/1.516, allocations: 0.7253 MB / 0.9065 GB, free: 33.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/1.537, allocations: 13.76 MB / 0.92 GB, free: 33.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06408/1.601, allocations: 52.43 MB / 0.9712 GB, free: 7.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/1.622, allocations: 26.41 MB / 0.9969 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009284/1.631, allocations: 3.586 MB / 1 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/1.632, allocations: 251.6 kB / 1.001 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.639e-05/1.632, allocations: 73.7 kB / 1.001 GB, free: 14.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=404): time 7.023e-06/1.632, allocations: 0 / 1.001 GB, free: 14.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=410): time 0.03689/1.669, allocations: 17.37 MB / 1.018 GB, free: 248 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/1.669, allocations: 94.59 kB / 1.018 GB, free: 140 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2187/1.887, allocations: 3.691 MB / 1.021 GB, free: 69.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006258/1.888, allocations: 91.36 kB / 1.022 GB, free: 69.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/1.89, allocations: 3.991 MB / 1.025 GB, free: 68.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001126/1.891, allocations: 1.389 MB / 1.027 GB, free: 67.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/1.891, allocations: 119.6 kB / 1.027 GB, free: 67.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/1.891, allocations: 0.5431 MB / 1.027 GB, free: 67.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/1.895, allocations: 2.808 MB / 1.03 GB, free: 67.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004645/1.9, allocations: 4.966 MB / 1.035 GB, free: 65.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00899/1.909, allocations: 8.339 MB / 1.043 GB, free: 62.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-05/1.909, allocations: 20.19 kB / 1.043 GB, free: 62.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.01345/1.923, allocations: 9.103 MB / 1.052 GB, free: 62.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/1.923, allocations: 34.59 kB / 1.052 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/1.923, allocations: 73.19 kB / 1.052 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/1.926, allocations: 1.204 MB / 1.053 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/1.93, allocations: 1.318 MB / 1.055 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/1.941, allocations: 9.119 MB / 1.064 GB, free: 60.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003936/1.945, allocations: 336.3 kB / 1.064 GB, free: 60.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005252/1.946, allocations: 288.9 kB / 1.064 GB, free: 60.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (697): * Single equations (assignments): 692 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005265/1.951, allocations: 3.713 MB / 1.068 GB, free: 60.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/1.952, allocations: 396 kB / 1.068 GB, free: 60.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009464/1.961, allocations: 6.703 MB / 1.075 GB, free: 59.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007198/1.968, allocations: 5.6 MB / 1.08 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.968, allocations: 11.75 kB / 1.08 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.067e-05/1.968, allocations: 18.42 kB / 1.08 GB, free: 59.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/1.991, allocations: 16.36 MB / 1.096 GB, free: 56.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.991, allocations: 11.33 kB / 1.096 GB, free: 56.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/1.993, allocations: 0.7162 MB / 1.097 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002534/1.996, allocations: 1.085 MB / 1.098 GB, free: 55.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/1.996, allocations: 93.27 kB / 1.098 GB, free: 55.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009626/2.006, allocations: 8.06 MB / 1.106 GB, free: 51.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/2.006, allocations: 5.875 kB / 1.106 GB, free: 51.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/2.018, allocations: 9.904 MB / 1.116 GB, free: 47.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001857/2.02, allocations: 0.967 MB / 1.116 GB, free: 46.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004941/2.021, allocations: 77.75 kB / 1.117 GB, free: 46.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/2.022, allocations: 212.9 kB / 1.117 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005456/2.023, allocations: 288.7 kB / 1.117 GB, free: 46.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/2.023, allocations: 122 kB / 1.117 GB, free: 46.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003081/2.026, allocations: 2.437 MB / 1.12 GB, free: 45.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.41e-07/2.026, allocations: 0 / 1.12 GB, free: 45.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004817/2.031, allocations: 1.664 MB / 1.121 GB, free: 45.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (392): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007832/2.032, allocations: 0.4946 MB / 1.122 GB, free: 45.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009373/2.041, allocations: 7.14 MB / 1.129 GB, free: 42.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/2.041, allocations: 1.875 kB / 1.129 GB, free: 42.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004535/2.046, allocations: 3.383 MB / 1.132 GB, free: 41.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005727/2.051, allocations: 0.9254 MB / 1.133 GB, free: 40.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/2.075, allocations: 19.48 MB / 1.152 GB, free: 22.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004858/2.08, allocations: 6.018 MB / 1.158 GB, free: 17.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/2.082, allocations: 379.5 kB / 1.158 GB, free: 17.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/2.082, allocations: 0 / 1.158 GB, free: 17.52 MB / 490.7 MB Notification: Performance of Templates: time 0.3806/2.462, allocations: 158.3 MB / 1.313 GB, free: 42.88 MB / 0.4948 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.makefile clang++ -std=c++14 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsTypes.h:115:9: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24iType' typedef _omcQComplexOutput_24iSensorQS_24currentSensor_24iType _omcQComplexOutput_24iSensorQS_24currentSensor_24iRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsTypes.h:116:9: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerType' typedef _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerType _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.h:18:101: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24iType' void /*RecordTypetest*/ _omcQComplexOutput_24iSensorQS_24currentSensor_24i(double re_, double im_,_omcQComplexOutput_24iSensorQS_24currentSensor_24iType &output ); ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.h:19:111: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerType' void /*RecordTypetest*/ _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower(double re_, double im_,_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerType &output ); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:56:92: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24iType' void Functions::_omcQComplexOutput_24iSensorQS_24currentSensor_24i(double re_, double im_, _omcQComplexOutput_24iSensorQS_24currentSensor_24iType& output) ^ ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsFunctions.cpp:64:102: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerType' void Functions::_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower(double re_, double im_, _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPowerType& output) ^ 6 errors generated. make: *** [: OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_CharacteristicsCalcHelperMain.o] Error 1