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.00156/0.00156, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007768/0.0007769, allocations: 94.66 kB / 297.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002505, allocations: 8 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2231, allocations: 51.29 MB / 409.4 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.5495, allocations: 132.7 MB / 0.5294 GB, free: 48.56 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5497, allocations: 106.7 kB / 0.5295 GB, free: 48.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249/1.799, allocations: 395.8 MB / 0.9161 GB, free: 52.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.799, allocations: 0 / 0.9161 GB, free: 52.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008662/1.8, allocations: 241.9 kB / 0.9163 GB, free: 52.37 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.03484/1.835, allocations: 10.62 MB / 0.9267 GB, free: 49.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.835, allocations: 11.59 kB / 0.9267 GB, free: 49.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03058/1.866, allocations: 5.668 MB / 0.9323 GB, free: 48.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02132/1.887, allocations: 8.372 MB / 0.9404 GB, free: 47.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/1.888, allocations: 0.7736 MB / 0.9412 GB, free: 47.08 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004961/1.893, allocations: 1.011 MB / 0.9422 GB, free: 47.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04531/1.938, allocations: 18.12 MB / 0.9599 GB, free: 44.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003606/1.939, allocations: 18.3 kB / 0.9599 GB, free: 44.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/1.942, allocations: 453.5 kB / 0.9603 GB, free: 44.19 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008248/1.943, allocations: 0.8635 MB / 0.9612 GB, free: 43.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/1.976, allocations: 16.32 MB / 0.9771 GB, free: 36.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09856/2.074, allocations: 59.61 MB / 1.035 GB, free: 2.555 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2878/2.362, allocations: 37.33 MB / 1.072 GB, free: 33.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006908/2.369, allocations: 4.183 MB / 1.076 GB, free: 33.65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/2.369, allocations: 271.4 kB / 1.076 GB, free: 33.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/2.37, allocations: 89.05 kB / 1.076 GB, free: 33.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 7.414e-06/2.37, allocations: 1.312 kB / 1.076 GB, free: 33.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.04679/2.416, allocations: 21.55 MB / 1.097 GB, free: 31.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/2.416, allocations: 104.2 kB / 1.097 GB, free: 31.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00713/2.424, allocations: 4.019 MB / 1.101 GB, free: 31.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008519/2.424, allocations: 110.5 kB / 1.101 GB, free: 31.28 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002494/2.427, allocations: 4.514 MB / 1.106 GB, free: 28.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001856/2.429, allocations: 1.793 MB / 1.108 GB, free: 27.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008356/2.43, allocations: 145 kB / 1.108 GB, free: 27.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005441/2.43, allocations: 0.5938 MB / 1.108 GB, free: 27.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005324/2.436, allocations: 3.455 MB / 1.112 GB, free: 27.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00644/2.442, allocations: 5.914 MB / 1.117 GB, free: 24.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/2.454, allocations: 10.08 MB / 1.127 GB, free: 21.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/2.454, allocations: 24.03 kB / 1.127 GB, free: 21.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01979/2.474, allocations: 10.96 MB / 1.138 GB, free: 20.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/2.474, allocations: 38.81 kB / 1.138 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/2.474, allocations: 83.53 kB / 1.138 GB, free: 20.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003362/2.478, allocations: 1.39 MB / 1.139 GB, free: 20.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005947/2.484, allocations: 1.602 MB / 1.141 GB, free: 20.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/2.497, allocations: 10.59 MB / 1.151 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/2.503, allocations: 420.5 kB / 1.152 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/2.504, allocations: 337.1 kB / 1.152 GB, free: 15.57 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.008041/2.512, allocations: 4.171 MB / 1.156 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/2.514, allocations: 477.1 kB / 1.157 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/2.529, allocations: 8.503 MB / 1.165 GB, free: 9.914 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01087/2.539, allocations: 7.088 MB / 1.172 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-05/2.54, allocations: 11.59 kB / 1.172 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/2.54, allocations: 26.95 kB / 1.172 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03902/2.579, allocations: 19.84 MB / 1.191 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/2.579, allocations: 0 / 1.191 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/2.583, allocations: 0.9283 MB / 1.192 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/2.586, allocations: 1.22 MB / 1.193 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006685/2.586, allocations: 115.7 kB / 1.193 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01383/2.6, allocations: 9.164 MB / 1.202 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.6, allocations: 4 kB / 1.202 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03368/2.634, allocations: 13.09 MB / 1.215 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003708/2.638, allocations: 1.155 MB / 1.216 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001789/2.64, allocations: 92 kB / 1.216 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003485/2.643, allocations: 287.9 kB / 1.217 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/2.644, allocations: 357.2 kB / 1.217 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007267/2.645, allocations: 147.7 kB / 1.217 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006036/2.651, allocations: 2.69 MB / 1.22 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/2.651, allocations: 0 / 1.22 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009863/2.661, allocations: 1.978 MB / 1.222 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.001778/2.663, allocations: 0.572 MB / 1.222 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2921/2.955, allocations: 8.897 MB / 1.231 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.955, allocations: 0 / 1.231 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00894/2.964, allocations: 4.193 MB / 1.235 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009369/2.973, allocations: 1.073 MB / 1.236 GB, free: 92.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04821/3.022, allocations: 23.1 MB / 1.259 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01693/3.039, allocations: 7.023 MB / 1.266 GB, free: 82.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009868/3.049, allocations: 2.338 MB / 1.268 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002577/3.051, allocations: 417.2 kB / 1.268 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/3.051, allocations: 0 / 1.268 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.138/3.189, allocations: 79.63 MB / 1.346 GB, free: 70.34 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 -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_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:26: ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_functions.h:1054: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:1063: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