Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset") translateModel(Annex60.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3045/0.3045, allocations: 55.01 MB / 69.96 MB, free: 8.668 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.001325/0.001324, allocations: 188.9 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.6/1.6, allocations: 194.4 MB / 292.3 MB, free: 3.59 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.001627/0.001627, allocations: 103.9 kB / 350.7 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 16 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1226, allocations: 57.65 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3995/0.5221, allocations: 87.52 MB / 0.5508 GB, free: 1.895 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.5224, allocations: 79.14 kB / 0.5509 GB, free: 1.852 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008572/0.531, allocations: 3.445 MB / 0.5543 GB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.531, allocations: 0 / 0.5543 GB, free: 14.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.5311, allocations: 4 kB / 0.5543 GB, free: 14.9 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007165/0.5318, allocations: 472.2 kB / 0.5547 GB, free: 14.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.5319, allocations: 8.031 kB / 0.5547 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.5319, allocations: 19.64 kB / 0.5547 GB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.5322, allocations: 236.5 kB / 0.555 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5322, allocations: 10.86 kB / 0.555 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.5323, allocations: 15 kB / 0.555 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.5326, allocations: 158 kB / 0.5551 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5326, allocations: 3.938 kB / 0.5551 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5326, allocations: 0 / 0.5551 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.5326, allocations: 8 kB / 0.5552 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.5329, allocations: 87.33 kB / 0.5552 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.5339, allocations: 0.7608 MB / 0.556 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.5341, allocations: 53.77 kB / 0.556 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.5341, allocations: 0 / 0.556 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.5344, allocations: 131.2 kB / 0.5562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.5345, allocations: 0 / 0.5562 GB, free: 12.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005573/0.535, allocations: 181.4 kB / 0.5563 GB, free: 12.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5351, allocations: 132.5 kB / 0.5565 GB, free: 12.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.5354, allocations: 174.2 kB / 0.5566 GB, free: 12.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5354, allocations: 33.02 kB / 0.5567 GB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.5355, allocations: 134.8 kB / 0.5568 GB, free: 12.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.5355, allocations: 34.05 kB / 0.5568 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5356, allocations: 0 / 0.5568 GB, free: 12.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5357, allocations: 331.6 kB / 0.5571 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.5358, allocations: 43.28 kB / 0.5572 GB, free: 11.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.5361, allocations: 149.9 kB / 0.5573 GB, free: 11.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5362, allocations: 66.47 kB / 0.5574 GB, free: 11.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5362, allocations: 0 / 0.5574 GB, free: 11.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003802/0.5366, allocations: 219.1 kB / 0.5576 GB, free: 11.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.5366, allocations: 10.19 kB / 0.5576 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5366, allocations: 4 kB / 0.5576 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5367, allocations: 4.5 kB / 0.5576 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.5368, allocations: 43.91 kB / 0.5576 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.5368, allocations: 7.938 kB / 0.5577 GB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.537, allocations: 27.36 kB / 0.5577 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.537, allocations: 8.875 kB / 0.5577 GB, free: 11.37 MB / 378.7 MB 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.pulsStart,booleanPulse.pulsStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 0.0001277/0.5371, allocations: 133.1 kB / 0.5578 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.5372, allocations: 27.66 kB / 0.5578 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.5372, allocations: 20.83 kB / 0.5579 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5372, allocations: 7.984 kB / 0.5579 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5373, allocations: 0 / 0.5579 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.5373, allocations: 7.984 kB / 0.5579 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008229/0.5381, allocations: 0.5217 MB / 0.5584 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5381, allocations: 3.938 kB / 0.5584 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.5382, allocations: 23.97 kB / 0.5584 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.5383, allocations: 3.938 kB / 0.5584 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.5383, allocations: 7.562 kB / 0.5584 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5383, allocations: 4 kB / 0.5584 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5383, allocations: 4 kB / 0.5584 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.5388, allocations: 400.7 kB / 0.5588 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.5389, allocations: 93.23 kB / 0.5589 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.5389, allocations: 7.688 kB / 0.5589 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.5391, allocations: 31.95 kB / 0.5589 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.5392, allocations: 15.31 kB / 0.559 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.5392, allocations: 4 kB / 0.559 GB, free: 10.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.5393, allocations: 142.9 kB / 0.5591 GB, free: 9.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5393, allocations: 0 / 0.5591 GB, free: 9.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003281/0.5397, allocations: 23.62 kB / 0.5591 GB, free: 9.91 MB / 378.7 MB 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.pulsStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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.0001824/0.5399, allocations: 115.2 kB / 0.5592 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.5402, allocations: 122.1 kB / 0.5593 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5402, allocations: 4.062 kB / 0.5593 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5404, allocations: 54.97 kB / 0.5594 GB, free: 9.641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.5408, allocations: 51.41 kB / 0.5594 GB, free: 9.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006976/0.5416, allocations: 393.7 kB / 0.5598 GB, free: 9.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.542, allocations: 0.7245 MB / 0.5605 GB, free: 8.449 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.425e-05/0.5421, allocations: 25.86 kB / 0.5606 GB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.5421, allocations: 15.44 kB / 0.5606 GB, free: 8.41 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5421, allocations: 0 / 0.5606 GB, free: 8.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004631/0.5468, allocations: 1.737 MB / 0.5623 GB, free: 6.695 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)