Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [: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.003401/0.003401, allocations: 175.6 kB / 7.451 MB, free: 2.504 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.414/1.414, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.002109/0.002109, allocations: 115.8 kB / 217.7 MB, free: 8.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.304e-05, allocations: 4 kB / 261.7 MB, free: 26.62 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 38.76 MB / 300.5 MB, free: 3.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4622, allocations: 87.27 MB / 387.8 MB, free: 13.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4625, allocations: 81.52 kB / 387.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.07848/0.541, allocations: 27.75 MB / 415.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001158/0.5411, allocations: 20.66 kB / 415.6 MB, free: 6.785 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003333/0.5445, allocations: 1.131 MB / 416.8 MB, free: 5.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5446, allocations: 8.031 kB / 416.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.5457, allocations: 194.3 kB / 417 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.5477, allocations: 0.8012 MB / 417.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.5478, allocations: 39.92 kB / 417.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.548, allocations: 59.06 kB / 417.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001143/0.5491, allocations: 0.5286 MB / 418.4 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.5506, allocations: 0.7543 MB / 419.1 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.5506, allocations: 11.84 kB / 419.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/0.5507, allocations: 0 / 419.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.102e-05/0.5508, allocations: 24 kB / 419.2 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/0.5569, allocations: 3.739 MB / 422.9 MB, free: 84 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.5573, allocations: 181.9 kB / 423.1 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.5579, allocations: 249.4 kB / 423.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.5579, allocations: 8 kB / 423.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.558, allocations: 38.55 kB / 423.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.518e-06/0.558, allocations: 0 / 423.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.002556/0.5606, allocations: 1.115 MB / 424.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.5606, allocations: 81.55 kB / 424.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5617, allocations: 0.5818 MB / 425.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.5618, allocations: 29.64 kB / 425.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/0.5621, allocations: 465.8 kB / 425.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.5623, allocations: 165.6 kB / 425.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.5623, allocations: 0 / 425.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.5626, allocations: 386.8 kB / 426.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.5628, allocations: 141.5 kB / 426.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.5633, allocations: 420.4 kB / 426.7 MB, free: 12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004232/0.5637, allocations: 212.6 kB / 426.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.5637, allocations: 4 kB / 426.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001265/0.565, allocations: 0.6603 MB / 427.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5651, allocations: 4 kB / 427.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.5651, allocations: 16 kB / 427.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003533/0.5654, allocations: 105.9 kB / 427.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.5661, allocations: 159.7 kB / 427.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.5691, allocations: 2.894 MB / 430.8 MB, free: 7.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.5699, allocations: 31.95 kB / 430.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.161e-05/0.57, allocations: 32 kB / 430.8 MB, free: 7.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002305/0.5702, allocations: 128.7 kB / 431 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.5704, allocations: 82.97 kB / 431 MB, free: 7.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009788/0.5714, allocations: 452.7 kB / 431.5 MB, free: 6.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.5714, allocations: 4 kB / 431.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.5714, allocations: 4 kB / 431.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5715, allocations: 3.984 kB / 431.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.574, allocations: 1.26 MB / 432.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.574, allocations: 4 kB / 432.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/0.5744, allocations: 71.91 kB / 432.8 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002972/0.5747, allocations: 93.78 kB / 432.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.5748, allocations: 4 kB / 432.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/0.5778, allocations: 2.886 MB / 435.8 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.5778, allocations: 4 kB / 435.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001553/0.5794, allocations: 0.8124 MB / 436.6 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.58, allocations: 188.1 kB / 436.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.5802, allocations: 11.94 kB / 436.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005335/0.5807, allocations: 24.27 kB / 436.8 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.5808, allocations: 27.95 kB / 436.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.5809, allocations: 12 kB / 436.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0007694/0.5816, allocations: 447.1 kB / 437.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001246/0.5829, allocations: 192 kB / 437.5 MB, free: 0.5273 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005296/0.5834, allocations: 277.3 kB / 437.8 MB, free: 256 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00128/0.5847, allocations: 0.6254 MB / 438.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5847, allocations: 0 / 438.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.5854, allocations: 405.5 kB / 438.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.5864, allocations: 179.6 kB / 439 MB, free: 15.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.5894, allocations: 1.215 MB / 440.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/0.5905, allocations: 1.078 MB / 441.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5905, allocations: 0 / 441.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of Templates: time 0.02135/0.6118, allocations: 9.306 MB / 450.6 MB, free: 3.324 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1)