Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") translateModel(Annex60.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep") [: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.3015/0.3015, allocations: 54.39 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.001545/0.001545, allocations: 191.9 kB / 75.38 MB, free: 1.484 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.507/1.507, allocations: 194.2 MB / 283.2 MB, free: 3.574 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.001762/0.001762, allocations: 134.3 kB / 341.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.947e-06/8.977e-06, allocations: 0 / 405 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 57.66 MB / 462.6 MB, free: 1.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.48, allocations: 84.01 MB / 0.5338 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.4803, allocations: 77.19 kB / 0.5339 GB, free: 12.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.001236/0.4815, allocations: 240.8 kB / 0.5341 GB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.4816, allocations: 4 kB / 0.5341 GB, free: 12.77 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002538/0.4818, allocations: 309.8 kB / 0.5344 GB, free: 12.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4819, allocations: 11.97 kB / 0.5344 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.4821, allocations: 19.88 kB / 0.5344 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4822, allocations: 166.1 kB / 0.5346 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.4823, allocations: 0 / 0.5346 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4823, allocations: 0 / 0.5346 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.218e-05/0.4824, allocations: 3.984 kB / 0.5346 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.032e-05/0.4824, allocations: 33.7 kB / 0.5346 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.4824, allocations: 3.938 kB / 0.5346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.4824, allocations: 0 / 0.5346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4825, allocations: 0 / 0.5346 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.4826, allocations: 134.1 kB / 0.5348 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.4826, allocations: 18.61 kB / 0.5348 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.4827, allocations: 7.859 kB / 0.5348 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4827, allocations: 0 / 0.5348 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.4827, allocations: 34.56 kB / 0.5348 GB, free: 11.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.396e-06/0.4827, allocations: 8.047 kB / 0.5348 GB, free: 11.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001252/0.4829, allocations: 30.23 kB / 0.5349 GB, free: 11.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4829, allocations: 55.41 kB / 0.5349 GB, free: 11.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.055e-05/0.483, allocations: 85 kB / 0.535 GB, free: 11.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.483, allocations: 25.7 kB / 0.535 GB, free: 11.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.483, allocations: 84.08 kB / 0.5351 GB, free: 11.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.4831, allocations: 6.234 kB / 0.5351 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.4831, allocations: 4 kB / 0.5351 GB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4832, allocations: 313.6 kB / 0.5354 GB, free: 11.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.4832, allocations: 4 kB / 0.5354 GB, free: 11.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.4833, allocations: 0 / 0.5354 GB, free: 11.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.747e-05/0.4833, allocations: 0 / 0.5354 GB, free: 11.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4833, allocations: 0 / 0.5354 GB, free: 11.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.105e-05/0.4834, allocations: 37.69 kB / 0.5355 GB, free: 11.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.4834, allocations: 4 kB / 0.5355 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4834, allocations: 4.094 kB / 0.5355 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.4834, allocations: 0 / 0.5355 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.278e-05/0.4835, allocations: 4 kB / 0.5355 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.4835, allocations: 0 / 0.5355 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.4836, allocations: 3.984 kB / 0.5355 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4836, allocations: 5.094 kB / 0.5355 GB, free: 11.2 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 (1): * Single equations (assignments): 1 * 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 8.392e-05/0.4837, allocations: 105 kB / 0.5356 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-06/0.4837, allocations: 0 / 0.5356 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.55e-05/0.4837, allocations: 13.83 kB / 0.5356 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4837, allocations: 0 / 0.5356 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4837, allocations: 3.938 kB / 0.5356 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4838, allocations: 0 / 0.5356 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.4839, allocations: 138.1 kB / 0.5357 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.4839, allocations: 0 / 0.5357 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.484, allocations: 0 / 0.5357 GB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.484, allocations: 4 kB / 0.5357 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.484, allocations: 0.875 kB / 0.5357 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.484, allocations: 0 / 0.5357 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.484, allocations: 4 kB / 0.5357 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.313e-05/0.4841, allocations: 63.53 kB / 0.5358 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.4842, allocations: 81.11 kB / 0.5359 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4842, allocations: 0 / 0.5359 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.954e-05/0.4842, allocations: 5.297 kB / 0.5359 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.4842, allocations: 0 / 0.5359 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4843, allocations: 0 / 0.5359 GB, free: 10.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.775e-05/0.4843, allocations: 83.31 kB / 0.536 GB, free: 10.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.4845, allocations: 0 / 0.536 GB, free: 10.63 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 (1): * Single equations (assignments): 1 * 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.0001851/0.4847, allocations: 91.25 kB / 0.536 GB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.503e-05/0.4848, allocations: 7.938 kB / 0.536 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4848, allocations: 0 / 0.536 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-06/0.4848, allocations: 4 kB / 0.536 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001159/0.485, allocations: 3.438 kB / 0.5361 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.4852, allocations: 55.95 kB / 0.5361 GB, free: 10.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/0.4857, allocations: 0.688 MB / 0.5368 GB, free: 9.727 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4857, allocations: 0 / 0.5368 GB, free: 9.727 MB / 378.7 MB Notification: Performance of Templates: time 0.00221/0.4879, allocations: 289.4 kB / 0.5371 GB, free: 9.453 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)