Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009554/0.009554, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7723/0.7723, allocations: 132.3 MB / 148.1 MB, free: 276 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.2 MB / 403.2 MB, free: 6.723 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.0009536, allocations: 94.98 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 12 kB / 0.5641 GB, free: 2.094 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4129, allocations: 81.58 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1519/0.5648, allocations: 110.3 MB / 0.7515 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5651, allocations: 79.94 kB / 0.7516 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001383/0.5665, allocations: 0.5417 MB / 0.7521 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5665, allocations: 4 kB / 0.7521 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.5665, allocations: 0 / 0.7521 GB, free: 8.973 MB / 0.5261 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.0002571/0.5668, allocations: 311.3 kB / 0.7524 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.5669, allocations: 12.09 kB / 0.7524 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.5671, allocations: 15.97 kB / 0.7525 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5672, allocations: 163 kB / 0.7526 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5672, allocations: 0 / 0.7526 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.5672, allocations: 0 / 0.7526 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5674, allocations: 37.69 kB / 0.7526 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5674, allocations: 0 / 0.7526 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5674, allocations: 3.938 kB / 0.7526 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5674, allocations: 3.984 kB / 0.7527 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.5675, allocations: 8 kB / 0.7527 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.5677, allocations: 153.6 kB / 0.7528 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.46e-05/0.5677, allocations: 22.61 kB / 0.7528 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.5678, allocations: 3.984 kB / 0.7528 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5678, allocations: 33.84 kB / 0.7529 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5678, allocations: 0 / 0.7529 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0002324/0.568, allocations: 49.69 kB / 0.7529 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5681, allocations: 51.41 kB / 0.753 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.44e-05/0.5681, allocations: 89.12 kB / 0.753 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.5682, allocations: 29.7 kB / 0.7531 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.038e-05/0.5682, allocations: 84.12 kB / 0.7532 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.5682, allocations: 3.906 kB / 0.7532 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.5682, allocations: 0 / 0.7532 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5684, allocations: 318.7 kB / 0.7535 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.5684, allocations: 4 kB / 0.7535 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.5684, allocations: 7.984 kB / 0.7535 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.5685, allocations: 4.062 kB / 0.7535 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5685, allocations: 0 / 0.7535 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001135/0.5686, allocations: 53.58 kB / 0.7535 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.5687, allocations: 10.17 kB / 0.7535 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5687, allocations: 0 / 0.7535 GB, free: 7.324 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5687, allocations: 4 kB / 0.7535 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.5688, allocations: 4 kB / 0.7535 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5688, allocations: 0 / 0.7535 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.158e-05/0.5688, allocations: 4.031 kB / 0.7535 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.5688, allocations: 4 kB / 0.7536 GB, free: 7.309 MB / 0.5261 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 () * Number of clocked 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.23e-05/0.5689, allocations: 109.8 kB / 0.7537 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.5689, allocations: 3.953 kB / 0.7537 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.569, allocations: 3.125 kB / 0.7537 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.569, allocations: 0 / 0.7537 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.569, allocations: 0 / 0.7537 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.569, allocations: 4 kB / 0.7537 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.5691, allocations: 149.7 kB / 0.7538 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5691, allocations: 0 / 0.7538 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.5692, allocations: 4 kB / 0.7538 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.5692, allocations: 3.953 kB / 0.7538 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5692, allocations: 0 / 0.7538 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.5692, allocations: 0 / 0.7538 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5692, allocations: 0 / 0.7538 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.5693, allocations: 77.05 kB / 0.7539 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.658e-05/0.5694, allocations: 77.11 kB / 0.754 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5694, allocations: 3.953 kB / 0.754 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.785e-05/0.5694, allocations: 0 / 0.754 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.5695, allocations: 4 kB / 0.754 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.5695, allocations: 0 / 0.754 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.037e-05/0.5695, allocations: 75.28 kB / 0.754 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5695, allocations: 0 / 0.754 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001629/0.5697, allocations: 4 kB / 0.754 GB, free: 6.707 MB / 0.5261 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 () * Number of clocked 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.0001486/0.5698, allocations: 103.9 kB / 0.7541 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.57, allocations: 15.92 kB / 0.7542 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.57, allocations: 0 / 0.7542 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.57, allocations: 7.938 kB / 0.7542 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.898e-05/0.5701, allocations: 0 / 0.7542 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.5704, allocations: 82.88 kB / 0.7542 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.5706, allocations: 0.6809 MB / 0.7549 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.77e-05/0.5707, allocations: 3.984 kB / 0.7549 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.5707, allocations: 11.44 kB / 0.7549 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.5707, allocations: 0 / 0.7549 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of Templates: time 0.001864/0.5726, allocations: 216.4 kB / 0.7551 GB, free: 5.527 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)