Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7611/0.7611, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.544/1.544, allocations: 221.3 MB / 400.4 MB, free: 5.809 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.0008526/0.0008527, allocations: 87.95 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.243e-05, allocations: 3.781 kB / 0.56 GB, free: 87.82 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1606, allocations: 82.3 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.591/0.7517, allocations: 113.2 MB / 0.7509 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.752, allocations: 70.62 kB / 0.751 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008809/0.7608, allocations: 3.519 MB / 0.7544 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.335e-06/0.7608, allocations: 7.906 kB / 0.7545 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.7609, allocations: 0.875 kB / 0.7545 GB, free: 27.34 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006028/0.7615, allocations: 432.5 kB / 0.7549 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7615, allocations: 11.53 kB / 0.7549 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.7616, allocations: 23.53 kB / 0.7549 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.7618, allocations: 234 kB / 0.7551 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.7619, allocations: 9.359 kB / 0.7551 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.7619, allocations: 15.31 kB / 0.7551 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.7621, allocations: 135.9 kB / 0.7553 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.7621, allocations: 0 / 0.7553 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.7622, allocations: 7.375 kB / 0.7553 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.7622, allocations: 3.719 kB / 0.7553 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.654e-05/0.7623, allocations: 43.56 kB / 0.7553 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.7633, allocations: 0.7655 MB / 0.7561 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/0.7633, allocations: 37.39 kB / 0.7561 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.7634, allocations: 27.73 kB / 0.7561 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.7634, allocations: 2.484 kB / 0.7561 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.7636, allocations: 103.4 kB / 0.7562 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.7636, allocations: 0 / 0.7562 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0002203/0.7638, allocations: 105.1 kB / 0.7563 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.7639, allocations: 138.1 kB / 0.7565 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.764, allocations: 183 kB / 0.7566 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.764, allocations: 29.39 kB / 0.7567 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.7641, allocations: 125.7 kB / 0.7568 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.7641, allocations: 37.69 kB / 0.7568 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.7641, allocations: 3.688 kB / 0.7568 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7643, allocations: 331.9 kB / 0.7572 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.7643, allocations: 26.97 kB / 0.7572 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.984e-05/0.7644, allocations: 141.5 kB / 0.7573 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.7645, allocations: 43.88 kB / 0.7574 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.7645, allocations: 0 / 0.7574 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002161/0.7647, allocations: 179.4 kB / 0.7575 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7648, allocations: 7.688 kB / 0.7575 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7648, allocations: 3.781 kB / 0.7575 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.7648, allocations: 3.906 kB / 0.7575 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.7649, allocations: 44.38 kB / 0.7576 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7649, allocations: 4.344 kB / 0.7576 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.7651, allocations: 41.67 kB / 0.7576 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.7651, allocations: 11.52 kB / 0.7576 GB, free: 24.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.38e-05/0.7652, allocations: 122.7 kB / 0.7578 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.7652, allocations: 19.25 kB / 0.7578 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.7653, allocations: 23.52 kB / 0.7578 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7653, allocations: 3.844 kB / 0.7578 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.7653, allocations: 0 / 0.7578 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7653, allocations: 4 kB / 0.7578 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.7659, allocations: 0.4894 MB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.7659, allocations: 3.844 kB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.766, allocations: 14.73 kB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.766, allocations: 10 kB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.7661, allocations: 1.688 kB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7661, allocations: 3.875 kB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7661, allocations: 3.938 kB / 0.7583 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.7664, allocations: 357.7 kB / 0.7587 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.7665, allocations: 97.84 kB / 0.7588 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.7665, allocations: 9.938 kB / 0.7588 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.7667, allocations: 20.69 kB / 0.7588 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.7667, allocations: 16.03 kB / 0.7588 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.7668, allocations: 7.875 kB / 0.7588 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001015/0.7669, allocations: 142.6 kB / 0.7589 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7669, allocations: 0 / 0.7589 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002951/0.7672, allocations: 26.5 kB / 0.759 GB, free: 23.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001346/0.7673, allocations: 108.1 kB / 0.7591 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.7675, allocations: 84.16 kB / 0.7591 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7675, allocations: 4.062 kB / 0.7592 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.49e-05/0.7676, allocations: 39.25 kB / 0.7592 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.768, allocations: 58.39 kB / 0.7592 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.7683, allocations: 263.6 kB / 0.7595 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.7686, allocations: 0.726 MB / 0.7602 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.147e-05/0.7687, allocations: 25.73 kB / 0.7602 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.7688, allocations: 19.16 kB / 0.7602 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.7688, allocations: 0 / 0.7602 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of Templates: time 0.003702/0.7725, allocations: 1.746 MB / 0.762 GB, free: 22.09 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)