Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007339/0.007339, allocations: 175.2 kB / 7.448 MB, free: 2.008 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.457/1.457, allocations: 170.6 MB / 178.4 MB, free: 15.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001666/0.001666, allocations: 104.5 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.133e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07766/0.07768, allocations: 38.76 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2802/0.3579, allocations: 83.29 MB / 383.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.3582, allocations: 78.2 kB / 383.9 MB, free: 1.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.08095/0.4392, allocations: 23.45 MB / 407.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.283e-05/0.4393, allocations: 20 kB / 407.3 MB, free: 14.15 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002289/0.4416, allocations: 1.034 MB / 408.4 MB, free: 13.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4417, allocations: 8.031 kB / 408.4 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/0.4424, allocations: 158.5 kB / 408.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.4441, allocations: 0.6826 MB / 409.2 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.4442, allocations: 28 kB / 409.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.4443, allocations: 55.59 kB / 409.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/0.4454, allocations: 449.8 kB / 409.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.4466, allocations: 0.6599 MB / 410.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.4467, allocations: 4 kB / 410.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.4468, allocations: 0 / 410.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.4468, allocations: 20 kB / 410.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.452, allocations: 3.334 MB / 413.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.4523, allocations: 145.8 kB / 413.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.4524, allocations: 94.52 kB / 414 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.4525, allocations: 7.984 kB / 414 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4525, allocations: 37.94 kB / 414 MB, free: 8.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.254e-06/0.4525, allocations: 0 / 414 MB, free: 8.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.001535/0.4541, allocations: 0.7734 MB / 414.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4541, allocations: 85.09 kB / 414.9 MB, free: 7.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.4549, allocations: 0.5065 MB / 415.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.455, allocations: 26.27 kB / 415.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.4553, allocations: 441.1 kB / 415.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.4554, allocations: 110.8 kB / 416 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.4554, allocations: 0 / 416 MB, free: 6.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.4556, allocations: 385.5 kB / 416.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.4558, allocations: 93.06 kB / 416.4 MB, free: 6.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.4562, allocations: 377.2 kB / 416.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.4565, allocations: 168.9 kB / 417 MB, free: 5.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4565, allocations: 4 kB / 417 MB, free: 5.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009715/0.4575, allocations: 0.499 MB / 417.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4575, allocations: 11.81 kB / 417.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.4575, allocations: 12.78 kB / 417.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.4577, allocations: 36.36 kB / 417.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.4583, allocations: 148.6 kB / 417.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/0.4595, allocations: 1.233 MB / 418.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005643/0.46, allocations: 35.95 kB / 418.9 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.4601, allocations: 32 kB / 419 MB, free: 3.676 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.4602, allocations: 124.7 kB / 419.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.4604, allocations: 67.16 kB / 419.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005578/0.4609, allocations: 268.9 kB / 419.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.4609, allocations: 4 kB / 419.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.461, allocations: 0 / 419.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.461, allocations: 3.984 kB / 419.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4627, allocations: 0.9388 MB / 420.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4627, allocations: 0 / 420.4 MB, free: 2.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.463, allocations: 67.89 kB / 420.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.5e-05/0.4631, allocations: 25.08 kB / 420.5 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.4632, allocations: 11.98 kB / 420.5 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009594/0.4641, allocations: 1.225 MB / 421.7 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.4641, allocations: 3.938 kB / 421.7 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007413/0.4649, allocations: 0.5767 MB / 422.3 MB, free: 72 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.4652, allocations: 160.2 kB / 422.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.4653, allocations: 8 kB / 422.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.4657, allocations: 23.92 kB / 422.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.4658, allocations: 27.81 kB / 422.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4658, allocations: 12 kB / 422.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005196/0.4663, allocations: 391.2 kB / 422.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007961/0.4671, allocations: 156 kB / 423 MB, free: 15.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004638/0.4676, allocations: 291.8 kB / 423.3 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007326/0.4684, allocations: 393.7 kB / 423.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4684, allocations: 0 / 423.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.4687, allocations: 208 kB / 423.9 MB, free: 14.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/0.4696, allocations: 155.9 kB / 424.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.4721, allocations: 1.033 MB / 425.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008121/0.4729, allocations: 1.021 MB / 426.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4729, allocations: 0 / 426.1 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Templates: time 0.01921/0.4921, allocations: 7.491 MB / 433.6 MB, free: 4.613 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1)