Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") [: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 4.0.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 177 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5931/0.5931, allocations: 133.5 MB / 141.4 MB, free: 15.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.139/1.139, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.00085, allocations: 103.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.592e-06, allocations: 2.562 kB / 0.5528 GB, free: 89.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 82.3 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3422/0.4569, allocations: 110.5 MB / 0.7411 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.4571, allocations: 70.03 kB / 0.7412 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001737/0.4589, allocations: 484.5 kB / 0.7416 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.4589, allocations: 3.844 kB / 0.7416 GB, free: 10.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002912/0.4592, allocations: 341.2 kB / 0.742 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.4592, allocations: 13.42 kB / 0.742 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.4593, allocations: 3.906 kB / 0.742 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4594, allocations: 168 kB / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4594, allocations: 0 / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.4594, allocations: 0 / 0.7421 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.7e-05/0.4595, allocations: 18.62 kB / 0.7422 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.203e-05/0.4595, allocations: 40.05 kB / 0.7422 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.4596, allocations: 0 / 0.7422 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.4596, allocations: 0 / 0.7422 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4596, allocations: 3.844 kB / 0.7422 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.4599, allocations: 249.7 kB / 0.7424 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.451e-05/0.46, allocations: 28.98 kB / 0.7425 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.46, allocations: 12.56 kB / 0.7425 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/0.4603, allocations: 412.2 kB / 0.7429 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.4604, allocations: 42.91 kB / 0.7429 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4604, allocations: 0 / 0.7429 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001542/0.4605, allocations: 38.73 kB / 0.7429 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.4606, allocations: 56.2 kB / 0.743 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.246e-05/0.4606, allocations: 96.2 kB / 0.7431 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.4606, allocations: 25.7 kB / 0.7431 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.4607, allocations: 87.62 kB / 0.7432 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.4607, allocations: 8.547 kB / 0.7432 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.4607, allocations: 0 / 0.7432 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4608, allocations: 319.2 kB / 0.7435 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.4608, allocations: 3.75 kB / 0.7435 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.4609, allocations: 3.875 kB / 0.7435 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.4609, allocations: 8.547 kB / 0.7435 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4609, allocations: 0 / 0.7435 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.674e-05/0.461, allocations: 49.84 kB / 0.7436 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.461, allocations: 7.594 kB / 0.7436 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.461, allocations: 0 / 0.7436 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.461, allocations: 3.906 kB / 0.7436 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.4611, allocations: 15.02 kB / 0.7436 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.4611, allocations: 0.7031 kB / 0.7436 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.4612, allocations: 13.98 kB / 0.7436 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.4612, allocations: 0 / 0.7436 GB, free: 24.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.248e-05/0.4612, allocations: 105.6 kB / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.4613, allocations: 7.891 kB / 0.7437 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.4614, allocations: 48.67 kB / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4614, allocations: 1.125 kB / 0.7438 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4614, allocations: 4.688 kB / 0.7438 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4614, allocations: 3.938 kB / 0.7438 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4615, allocations: 139.3 kB / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.4615, allocations: 3.75 kB / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.4616, allocations: 11.06 kB / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4616, allocations: 3.906 kB / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.4616, allocations: 0 / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4616, allocations: 1.375 kB / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4616, allocations: 0.7969 kB / 0.7439 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001107/0.4618, allocations: 145.3 kB / 0.7441 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.4618, allocations: 80.92 kB / 0.7441 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4618, allocations: 0.6094 kB / 0.7441 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.4619, allocations: 10.33 kB / 0.7442 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.4619, allocations: 1.406 kB / 0.7442 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.462, allocations: 4.031 kB / 0.7442 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.968e-05/0.462, allocations: 84.14 kB / 0.7442 GB, free: 24.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001952/0.4622, allocations: 7.719 kB / 0.7443 GB, free: 24.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001127/0.4623, allocations: 103.4 kB / 0.7444 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.147e-05/0.4624, allocations: 19.86 kB / 0.7444 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.4624, allocations: 0 / 0.7444 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.768e-05/0.4624, allocations: 6.812 kB / 0.7444 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.4626, allocations: 12.34 kB / 0.7444 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001737/0.4628, allocations: 59.89 kB / 0.7444 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.463, allocations: 0.6923 MB / 0.7451 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.463, allocations: 0 / 0.7451 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.001988/0.465, allocations: 0.5625 MB / 0.7457 GB, free: 23.1 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)