Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 206.7 kB / 18.07 MB, free: 3.641 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 226.5 MB / 245.4 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008194/0.0008195, allocations: 103.2 kB / 297.4 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002227/0.0002228, allocations: 8 kB / 357.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2373, allocations: 51.28 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.5991, allocations: 132.7 MB / 0.5287 GB, free: 48.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5994, allocations: 110.5 kB / 0.5288 GB, free: 48.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.167/1.766, allocations: 395.8 MB / 0.9154 GB, free: 52.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.766, allocations: 0 / 0.9154 GB, free: 52.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006933/1.767, allocations: 235.2 kB / 0.9156 GB, free: 52.74 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03564/1.803, allocations: 10.62 MB / 0.926 GB, free: 49.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.803, allocations: 13.72 kB / 0.926 GB, free: 49.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02806/1.831, allocations: 5.672 MB / 0.9316 GB, free: 48.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/1.847, allocations: 8.359 MB / 0.9397 GB, free: 47.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006747/1.848, allocations: 0.7734 MB / 0.9405 GB, free: 47.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/1.852, allocations: 1.012 MB / 0.9415 GB, free: 47.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04152/1.893, allocations: 18.12 MB / 0.9592 GB, free: 44.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003447/1.894, allocations: 18.77 kB / 0.9592 GB, free: 44.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002712/1.897, allocations: 445.6 kB / 0.9596 GB, free: 44.42 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007349/1.897, allocations: 0.8653 MB / 0.9605 GB, free: 44.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03265/1.93, allocations: 16.33 MB / 0.9764 GB, free: 36.82 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09775/2.028, allocations: 59.61 MB / 1.035 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3088/2.337, allocations: 37.3 MB / 1.071 GB, free: 34.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006861/2.343, allocations: 4.183 MB / 1.075 GB, free: 33.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/2.344, allocations: 270.5 kB / 1.075 GB, free: 33.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/2.344, allocations: 93.05 kB / 1.075 GB, free: 33.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 7.705e-06/2.344, allocations: 1.531 kB / 1.075 GB, free: 33.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.04385/2.388, allocations: 21.54 MB / 1.097 GB, free: 32.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/2.388, allocations: 105.9 kB / 1.097 GB, free: 31.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/2.394, allocations: 4.02 MB / 1.101 GB, free: 31.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009053/2.395, allocations: 111.7 kB / 1.101 GB, free: 31.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002258/2.397, allocations: 4.509 MB / 1.105 GB, free: 29.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/2.399, allocations: 1.793 MB / 1.107 GB, free: 28.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/2.399, allocations: 143.4 kB / 1.107 GB, free: 28.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003142/2.399, allocations: 0.5901 MB / 1.108 GB, free: 27.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004438/2.404, allocations: 3.457 MB / 1.111 GB, free: 27.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005978/2.41, allocations: 5.921 MB / 1.117 GB, free: 24.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/2.421, allocations: 10.08 MB / 1.127 GB, free: 21.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-05/2.421, allocations: 27.41 kB / 1.127 GB, free: 21.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01713/2.438, allocations: 10.96 MB / 1.137 GB, free: 21.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-05/2.439, allocations: 37.56 kB / 1.137 GB, free: 21.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/2.439, allocations: 78.81 kB / 1.137 GB, free: 21.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/2.442, allocations: 1.401 MB / 1.139 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006076/2.448, allocations: 1.601 MB / 1.14 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/2.462, allocations: 10.59 MB / 1.151 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/2.468, allocations: 423.7 kB / 1.151 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/2.47, allocations: 333.8 kB / 1.151 GB, free: 15.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * 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 (844): * Single equations (assignments): 839 * 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.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008341/2.478, allocations: 4.164 MB / 1.155 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/2.479, allocations: 478 kB / 1.156 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/2.492, allocations: 8.509 MB / 1.164 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009903/2.502, allocations: 7.091 MB / 1.171 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/2.502, allocations: 8.562 kB / 1.171 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/2.502, allocations: 27.09 kB / 1.171 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03463/2.537, allocations: 19.84 MB / 1.191 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/2.537, allocations: 6.406 kB / 1.191 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00362/2.54, allocations: 0.924 MB / 1.191 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/2.544, allocations: 1.221 MB / 1.193 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003835/2.544, allocations: 111.2 kB / 1.193 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/2.557, allocations: 9.169 MB / 1.202 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/2.557, allocations: 4 kB / 1.202 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02845/2.586, allocations: 12.98 MB / 1.214 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/2.589, allocations: 1.155 MB / 1.215 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/2.59, allocations: 92 kB / 1.216 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/2.592, allocations: 287 kB / 1.216 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007482/2.593, allocations: 357.7 kB / 1.216 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003294/2.593, allocations: 147.3 kB / 1.216 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004958/2.598, allocations: 2.688 MB / 1.219 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/2.598, allocations: 0 / 1.219 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007619/2.606, allocations: 1.976 MB / 1.221 GB, free: 5.367 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * 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 (502): * Single equations (assignments): 497 * 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%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/2.607, allocations: 0.5734 MB / 1.221 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2776/2.884, allocations: 8.892 MB / 1.23 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.884, allocations: 3.719 kB / 1.23 GB, free: 93.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007886/2.892, allocations: 4.198 MB / 1.234 GB, free: 93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007121/2.899, allocations: 1.066 MB / 1.235 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/2.94, allocations: 22.83 MB / 1.258 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.951, allocations: 6.82 MB / 1.264 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002317/2.953, allocations: 465.4 kB / 1.265 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/2.953, allocations: 0 / 1.265 GB, free: 83.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.9654/3.918, allocations: 181.3 MB / 1.442 GB, free: 87.05 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_CharacteristicsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsCalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_CharacteristicsTypes.h:127: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.IMS_CharacteristicsTypes.h:128: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.IMS_CharacteristicsCalcHelperMain.cpp:16: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_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.IMS_CharacteristicsCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_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.IMS_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.IMS_CharacteristicsCalcHelperMain.o] Error 1