Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001469/0.001469, allocations: 198.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.2 MB / 245 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009546/0.0009544, allocations: 100 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.0002309, allocations: 11.98 kB / 358 MB, free: 9.273 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2084, allocations: 51.49 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.5445, allocations: 132.5 MB / 0.5293 GB, free: 48.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5448, allocations: 109 kB / 0.5294 GB, free: 48.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171/1.716, allocations: 399.3 MB / 0.9194 GB, free: 53.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.716, allocations: 3.375 kB / 0.9194 GB, free: 53.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008963/1.717, allocations: 237.6 kB / 0.9196 GB, free: 53 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.03538/1.752, allocations: 10.73 MB / 0.9301 GB, free: 49.68 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.752, allocations: 7.375 kB / 0.9301 GB, free: 49.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02942/1.782, allocations: 5.666 MB / 0.9356 GB, free: 49.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02193/1.804, allocations: 8.963 MB / 0.9444 GB, free: 47.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008267/1.804, allocations: 0.7731 MB / 0.9451 GB, free: 47.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004182/1.809, allocations: 1.007 MB / 0.9461 GB, free: 47.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04473/1.853, allocations: 18.04 MB / 0.9637 GB, free: 43.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003084/1.854, allocations: 22.7 kB / 0.9637 GB, free: 43.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/1.856, allocations: 451 kB / 0.9642 GB, free: 43.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007176/1.857, allocations: 0.8612 MB / 0.965 GB, free: 42.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03045/1.887, allocations: 16.34 MB / 0.981 GB, free: 32.91 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3745/2.262, allocations: 59.57 MB / 1.039 GB, free: 57.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02897/2.291, allocations: 37.28 MB / 1.076 GB, free: 27.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007787/2.291, allocations: 270 kB / 1.076 GB, free: 27.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/2.292, allocations: 91.8 kB / 1.076 GB, free: 26.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 1.193e-05/2.292, allocations: 1.688 kB / 1.076 GB, free: 26.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.04904/2.341, allocations: 21.85 MB / 1.097 GB, free: 24.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/2.341, allocations: 105.6 kB / 1.097 GB, free: 24.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007455/2.348, allocations: 3.597 MB / 1.101 GB, free: 24.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006305/2.349, allocations: 110.3 kB / 1.101 GB, free: 24.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002347/2.351, allocations: 4.507 MB / 1.105 GB, free: 22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001705/2.353, allocations: 1.796 MB / 1.107 GB, free: 20.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007355/2.354, allocations: 144.1 kB / 1.107 GB, free: 20.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005605/2.354, allocations: 0.6008 MB / 1.108 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005548/2.36, allocations: 3.47 MB / 1.111 GB, free: 20.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006657/2.367, allocations: 5.899 MB / 1.117 GB, free: 17.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006894/2.373, allocations: 4.809 MB / 1.122 GB, free: 17.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001209/2.374, allocations: 22.09 kB / 1.122 GB, free: 17.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01964/2.393, allocations: 10.99 MB / 1.132 GB, free: 17.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/2.393, allocations: 40.5 kB / 1.132 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/2.394, allocations: 75.94 kB / 1.133 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003476/2.397, allocations: 1.399 MB / 1.134 GB, free: 16.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/2.403, allocations: 1.611 MB / 1.135 GB, free: 16.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/2.419, allocations: 10.94 MB / 1.146 GB, free: 31.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005891/2.425, allocations: 413.6 kB / 1.147 GB, free: 31.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/2.426, allocations: 334.3 kB / 1.147 GB, free: 31.37 MB / 0.4948 GB 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.009316/2.436, allocations: 4.171 MB / 1.151 GB, free: 31.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/2.437, allocations: 477.4 kB / 1.151 GB, free: 30.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/2.454, allocations: 8.563 MB / 1.16 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01164/2.466, allocations: 7.126 MB / 1.167 GB, free: 24.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-05/2.466, allocations: 14.81 kB / 1.167 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/2.466, allocations: 30.16 kB / 1.167 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03939/2.505, allocations: 19.84 MB / 1.186 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.79e-05/2.505, allocations: 2.375 kB / 1.186 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003722/2.509, allocations: 0.9389 MB / 1.187 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/2.512, allocations: 1.213 MB / 1.188 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005805/2.513, allocations: 113.8 kB / 1.188 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/2.527, allocations: 9.499 MB / 1.198 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/2.527, allocations: 4 kB / 1.198 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/2.549, allocations: 12.6 MB / 1.21 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003484/2.552, allocations: 1.156 MB / 1.211 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.554, allocations: 95.89 kB / 1.211 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003103/2.557, allocations: 286 kB / 1.211 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008849/2.558, allocations: 349.1 kB / 1.212 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004773/2.558, allocations: 146.8 kB / 1.212 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005199/2.563, allocations: 2.689 MB / 1.215 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.2e-07/2.563, allocations: 0 / 1.215 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008375/2.572, allocations: 1.978 MB / 1.216 GB, free: 5.883 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.00138/2.573, allocations: 0.5831 MB / 1.217 GB, free: 5.387 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2833/2.857, allocations: 8.863 MB / 1.226 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/2.857, allocations: 0 / 1.226 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007193/2.864, allocations: 4.209 MB / 1.23 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004972/2.869, allocations: 0.9932 MB / 1.231 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03831/2.907, allocations: 23.78 MB / 1.254 GB, free: 84.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01063/2.918, allocations: 7.196 MB / 1.261 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008078/2.926, allocations: 2.334 MB / 1.263 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/2.928, allocations: 417.6 kB / 1.264 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/2.928, allocations: 0 / 1.264 GB, free: 83.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.1283/3.056, allocations: 78.93 MB / 1.341 GB, free: 71 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.o Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.c In file included from Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.c:7: In file included from ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_model.h:24: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1124: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1133: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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.o] Error 1