Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002159, allocations: 176.5 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 241.4 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008598/0.0008597, allocations: 94.08 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 15.94 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2238, allocations: 50.41 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3208/0.5447, allocations: 132 MB / 0.5222 GB, free: 93.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.545, allocations: 111.4 kB / 0.5223 GB, free: 93.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.173/1.718, allocations: 376.3 MB / 0.8898 GB, free: 49.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.718, allocations: 0 / 0.8898 GB, free: 49.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008925/1.719, allocations: 235.5 kB / 0.8901 GB, free: 49.76 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.03778/1.757, allocations: 10.58 MB / 0.9004 GB, free: 46.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/1.757, allocations: 6.844 kB / 0.9004 GB, free: 46.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03114/1.788, allocations: 5.676 MB / 0.9059 GB, free: 45.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0218/1.81, allocations: 8.365 MB / 0.9141 GB, free: 44.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009403/1.811, allocations: 0.7756 MB / 0.9149 GB, free: 44.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005214/1.816, allocations: 1.01 MB / 0.9158 GB, free: 44.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04983/1.866, allocations: 18.13 MB / 0.9335 GB, free: 39.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006285/1.866, allocations: 14.83 kB / 0.9336 GB, free: 39.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003922/1.87, allocations: 447.8 kB / 0.934 GB, free: 39.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/1.871, allocations: 0.8637 MB / 0.9348 GB, free: 38.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03544/1.907, allocations: 16.34 MB / 0.9508 GB, free: 26.6 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4474/2.354, allocations: 58.45 MB / 1.008 GB, free: 43.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02835/2.383, allocations: 37.3 MB / 1.044 GB, free: 29.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007104/2.39, allocations: 4.183 MB / 1.048 GB, free: 29.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005256/2.39, allocations: 182.2 kB / 1.049 GB, free: 28.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/2.39, allocations: 94.2 kB / 1.049 GB, free: 28.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 7.394e-06/2.39, allocations: 0 / 1.049 GB, free: 28.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.04573/2.436, allocations: 21.55 MB / 1.07 GB, free: 27.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/2.436, allocations: 103.5 kB / 1.07 GB, free: 26.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/2.442, allocations: 4.015 MB / 1.074 GB, free: 26.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/2.443, allocations: 114.2 kB / 1.074 GB, free: 26.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/2.446, allocations: 4.505 MB / 1.078 GB, free: 24.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001913/2.448, allocations: 1.798 MB / 1.08 GB, free: 23.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000448/2.448, allocations: 143.5 kB / 1.08 GB, free: 23.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004347/2.449, allocations: 0.5981 MB / 1.081 GB, free: 22.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005036/2.454, allocations: 3.455 MB / 1.084 GB, free: 22.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/2.46, allocations: 5.907 MB / 1.09 GB, free: 19.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/2.474, allocations: 10.09 MB / 1.1 GB, free: 16.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002243/2.475, allocations: 21.53 kB / 1.1 GB, free: 16.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01913/2.494, allocations: 10.96 MB / 1.11 GB, free: 16.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.057e-05/2.494, allocations: 44.5 kB / 1.11 GB, free: 16.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001509/2.494, allocations: 77.09 kB / 1.111 GB, free: 16.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/2.497, allocations: 1.388 MB / 1.112 GB, free: 16.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/2.503, allocations: 1.605 MB / 1.113 GB, free: 16.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01448/2.517, allocations: 10.59 MB / 1.124 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006013/2.524, allocations: 424.1 kB / 1.124 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/2.525, allocations: 329 kB / 1.125 GB, free: 13.31 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.009692/2.535, allocations: 4.167 MB / 1.129 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/2.537, allocations: 484.1 kB / 1.129 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/2.553, allocations: 8.503 MB / 1.137 GB, free: 7.656 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0128/2.566, allocations: 7.09 MB / 1.144 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.777e-05/2.566, allocations: 12.53 kB / 1.144 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/2.566, allocations: 26.44 kB / 1.144 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04453/2.611, allocations: 19.82 MB / 1.164 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-05/2.611, allocations: 4 kB / 1.164 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004181/2.615, allocations: 0.9319 MB / 1.165 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003183/2.618, allocations: 1.219 MB / 1.166 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009399/2.619, allocations: 106.8 kB / 1.166 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/2.635, allocations: 9.213 MB / 1.175 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/2.635, allocations: 7.938 kB / 1.175 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02573/2.66, allocations: 12.27 MB / 1.187 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003891/2.664, allocations: 1.154 MB / 1.188 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001869/2.666, allocations: 97.88 kB / 1.188 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003855/2.67, allocations: 284.8 kB / 1.188 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/2.672, allocations: 353.6 kB / 1.189 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009373/2.673, allocations: 148.8 kB / 1.189 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007325/2.68, allocations: 2.729 MB / 1.191 GB, free: 0 / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/2.68, allocations: 336 / 1.191 GB, free: 0 / 0.5105 GB Notification: Performance of remove unused functions: time 0.2807/2.961, allocations: 2.053 MB / 1.193 GB, free: 103.5 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.001798/2.962, allocations: 0.5685 MB / 1.194 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01496/2.977, allocations: 8.758 MB / 1.203 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/2.977, allocations: 6.062 kB / 1.203 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009006/2.986, allocations: 4.194 MB / 1.207 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008093/2.995, allocations: 1.067 MB / 1.208 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0387/3.033, allocations: 23.05 MB / 1.23 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01138/3.045, allocations: 7.03 MB / 1.237 GB, free: 93.02 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008755/3.054, allocations: 2.326 MB / 1.239 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/3.056, allocations: 421.9 kB / 1.24 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/3.056, allocations: 0 / 1.24 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.1402/3.196, allocations: 79.51 MB / 1.317 GB, free: 69.83 MB / 0.5105 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.o Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.c In file included from Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.c:7: In file included from ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_model.h:26: ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1052:1: error: unknown type name '_omcQComplexOutput_24iSensorQS_24currentSensor_24i' _omcQComplexOutput_24iSensorQS_24currentSensor_24i omc__omcQComplexOutput_24iSensorQS_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1061:1: error: unknown type name '_omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower' _omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower omc__omcQComplexOutput_24pSensorQS_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.o] Error 1