Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2678/0.2678, allocations: 54.4 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001014/0.001013, allocations: 192.7 kB / 75.38 MB, free: 1.516 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.176/1.176, allocations: 194.2 MB / 283.2 MB, free: 3.566 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001706/0.001706, allocations: 118.5 kB / 341.3 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.725e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1269, allocations: 57.66 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5287, allocations: 84.61 MB / 0.5344 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5289, allocations: 67.09 kB / 0.5344 GB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.00201/0.531, allocations: 485.9 kB / 0.5349 GB, free: 12.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.531, allocations: 0 / 0.5349 GB, free: 12.02 MB / 378.7 MB 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.0003904/0.5314, allocations: 345.5 kB / 0.5352 GB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5314, allocations: 11.97 kB / 0.5352 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.137e-05/0.5315, allocations: 4 kB / 0.5352 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.5316, allocations: 163 kB / 0.5354 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.5317, allocations: 0 / 0.5354 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.5317, allocations: 4 kB / 0.5354 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.148e-05/0.5317, allocations: 10.81 kB / 0.5354 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.61e-05/0.5318, allocations: 40.25 kB / 0.5355 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-06/0.5318, allocations: 0 / 0.5355 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.5318, allocations: 0 / 0.5355 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.5318, allocations: 0 / 0.5355 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.5322, allocations: 255.2 kB / 0.5357 GB, free: 11.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.5323, allocations: 26.08 kB / 0.5357 GB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.5323, allocations: 12.48 kB / 0.5357 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.5327, allocations: 413.5 kB / 0.5361 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.5327, allocations: 30.56 kB / 0.5362 GB, free: 10.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.5327, allocations: 0 / 0.5362 GB, free: 10.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001857/0.5329, allocations: 49.17 kB / 0.5362 GB, free: 10.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.533, allocations: 52.17 kB / 0.5363 GB, free: 10.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.533, allocations: 101.3 kB / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.533, allocations: 29.73 kB / 0.5364 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.5331, allocations: 80.14 kB / 0.5365 GB, free: 10.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.5331, allocations: 11.53 kB / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.5331, allocations: 0 / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5332, allocations: 314.8 kB / 0.5368 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.5333, allocations: 9.766 kB / 0.5368 GB, free: 9.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.5333, allocations: 4 kB / 0.5368 GB, free: 9.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.5333, allocations: 7.562 kB / 0.5368 GB, free: 9.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.5333, allocations: 0.75 kB / 0.5368 GB, free: 9.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.5334, allocations: 49.36 kB / 0.5368 GB, free: 9.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5334, allocations: 4 kB / 0.5368 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5335, allocations: 0 / 0.5368 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5335, allocations: 0 / 0.5368 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5336, allocations: 15.67 kB / 0.5369 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5336, allocations: 7.938 kB / 0.5369 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.5337, allocations: 12.02 kB / 0.5369 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.5337, allocations: 3.938 kB / 0.5369 GB, free: 9.762 MB / 378.7 MB 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 6.192e-05/0.5338, allocations: 105 kB / 0.537 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.5338, allocations: 3.906 kB / 0.537 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.5339, allocations: 52.83 kB / 0.537 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.534, allocations: 0 / 0.537 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.534, allocations: 0 / 0.537 GB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.534, allocations: 4.031 kB / 0.537 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.5341, allocations: 141.8 kB / 0.5372 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5341, allocations: 3.938 kB / 0.5372 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.5342, allocations: 12 kB / 0.5372 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5342, allocations: 0 / 0.5372 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.5342, allocations: 3.688 kB / 0.5372 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5342, allocations: 0 / 0.5372 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5342, allocations: 3.984 kB / 0.5372 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001363/0.5344, allocations: 143.1 kB / 0.5373 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.5344, allocations: 77.11 kB / 0.5374 GB, free: 9.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.5344, allocations: 4 kB / 0.5374 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.5345, allocations: 7.984 kB / 0.5374 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.5346, allocations: 12.02 kB / 0.5374 GB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.5346, allocations: 3.906 kB / 0.5374 GB, free: 9.129 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.787e-05/0.5346, allocations: 86.83 kB / 0.5375 GB, free: 9.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.5349, allocations: 4 kB / 0.5375 GB, free: 9.043 MB / 378.7 MB 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.0001389/0.535, allocations: 99.25 kB / 0.5376 GB, free: 8.934 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.003e-05/0.5351, allocations: 11.69 kB / 0.5376 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5351, allocations: 0 / 0.5376 GB, free: 8.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.5351, allocations: 11.62 kB / 0.5376 GB, free: 8.918 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.5353, allocations: 8.125 kB / 0.5376 GB, free: 8.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.5356, allocations: 59.53 kB / 0.5377 GB, free: 8.832 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.5359, allocations: 0.6958 MB / 0.5384 GB, free: 8.109 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5359, allocations: 0 / 0.5384 GB, free: 8.109 MB / 378.7 MB Notification: Performance of Templates: time 0.002561/0.5384, allocations: 0.5577 MB / 0.5389 GB, free: 7.562 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)