Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001744/0.001744, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5965/0.5965, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.124/1.124, allocations: 221.3 MB / 395 MB, free: 10.17 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.0007978/0.0007977, allocations: 98.11 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.494e-06, allocations: 2.75 kB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 82.31 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4428, allocations: 109.8 MB / 0.7404 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001738/0.443, allocations: 73.27 kB / 0.7405 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001092/0.4441, allocations: 240.4 kB / 0.7407 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4442, allocations: 4 kB / 0.7407 GB, free: 10.81 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001948/0.4444, allocations: 311.6 kB / 0.741 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.985e-05/0.4444, allocations: 8.422 kB / 0.741 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.4446, allocations: 20.42 kB / 0.7411 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.259e-05/0.4447, allocations: 166.2 kB / 0.7412 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.4447, allocations: 0 / 0.7412 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-06/0.4447, allocations: 0 / 0.7412 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.206e-05/0.4447, allocations: 4.453 kB / 0.7412 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.22e-05/0.4448, allocations: 33.03 kB / 0.7413 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.4448, allocations: 0 / 0.7413 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.4448, allocations: 0 / 0.7413 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-06/0.4448, allocations: 7.906 kB / 0.7413 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.925e-05/0.4449, allocations: 123.6 kB / 0.7414 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 2.307e-05/0.445, allocations: 19.09 kB / 0.7414 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.445, allocations: 9.359 kB / 0.7414 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.445, allocations: 4 kB / 0.7414 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.445, allocations: 37.58 kB / 0.7415 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.445, allocations: 0 / 0.7415 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.4452, allocations: 30.77 kB / 0.7415 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.4452, allocations: 55.27 kB / 0.7415 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.439e-05/0.4452, allocations: 85 kB / 0.7416 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.4452, allocations: 30.62 kB / 0.7416 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.4453, allocations: 84.7 kB / 0.7417 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4453, allocations: 4.688 kB / 0.7417 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.4453, allocations: 0 / 0.7417 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.4454, allocations: 318.7 kB / 0.742 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.4454, allocations: 0 / 0.742 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.4454, allocations: 3.875 kB / 0.742 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.294e-05/0.4454, allocations: 0.5625 kB / 0.742 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4454, allocations: 0 / 0.742 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.03e-05/0.4455, allocations: 39.39 kB / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.4455, allocations: 12.34 kB / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.4455, allocations: 0 / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.884e-06/0.4455, allocations: 0 / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.4456, allocations: 5.328 kB / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.4456, allocations: 1.125 kB / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.4456, allocations: 0 / 0.7421 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.4457, allocations: 0.6094 kB / 0.7421 GB, free: 25.33 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 (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 5.384e-05/0.4457, allocations: 109.3 kB / 0.7422 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.4457, allocations: 0 / 0.7422 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.4458, allocations: 8.078 kB / 0.7422 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.4458, allocations: 3.938 kB / 0.7422 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4458, allocations: 0 / 0.7422 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.4458, allocations: 0 / 0.7422 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.542e-05/0.4458, allocations: 131.7 kB / 0.7423 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.4459, allocations: 0 / 0.7423 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.4459, allocations: 6.406 kB / 0.7423 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4459, allocations: 0 / 0.7423 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.4459, allocations: 3.875 kB / 0.7423 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4459, allocations: 4.891 kB / 0.7423 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.4459, allocations: 0 / 0.7423 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.401e-05/0.446, allocations: 55.22 kB / 0.7424 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.446, allocations: 82 kB / 0.7425 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.446, allocations: 0 / 0.7425 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.4461, allocations: 1.359 kB / 0.7425 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.028e-05/0.4461, allocations: 0 / 0.7425 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-06/0.4461, allocations: 4.531 kB / 0.7425 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.873e-05/0.4461, allocations: 79.28 kB / 0.7426 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001631/0.4463, allocations: 0 / 0.7426 GB, free: 24.8 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 (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 8.495e-05/0.4464, allocations: 101.4 kB / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.109e-05/0.4465, allocations: 12.41 kB / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.4465, allocations: 0 / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-06/0.4465, allocations: 4.672 kB / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.572e-05/0.4466, allocations: 0 / 0.7427 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001524/0.4467, allocations: 50.58 kB / 0.7427 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.4469, allocations: 0.6868 MB / 0.7434 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.447, allocations: 0 / 0.7434 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of Templates: time 0.001493/0.4484, allocations: 285.3 kB / 0.7437 GB, free: 23.9 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)