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.2726/0.2726, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.001107/0.001107, allocations: 178.5 kB / 80.7 MB, free: 15.41 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.373/1.373, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001754/0.001754, allocations: 122.5 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.331e-05, allocations: 7.984 kB / 412.4 MB, free: 21.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3387/0.4398, allocations: 87.45 MB / 0.5444 GB, free: 3.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.44, allocations: 67.97 kB / 0.5445 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008886/0.4489, allocations: 3.446 MB / 0.5478 GB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.449, allocations: 0 / 0.5478 GB, free: 15.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.449, allocations: 9.812 kB / 0.5478 GB, free: 15.52 MB / 394.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.0005512/0.4496, allocations: 439.2 kB / 0.5483 GB, free: 15.04 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4496, allocations: 8.031 kB / 0.5483 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.4497, allocations: 23.8 kB / 0.5483 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.45, allocations: 222.8 kB / 0.5485 GB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.45, allocations: 11.86 kB / 0.5485 GB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.45, allocations: 15.91 kB / 0.5485 GB, free: 14.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.4503, allocations: 141.7 kB / 0.5487 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4503, allocations: 3.984 kB / 0.5487 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4503, allocations: 4 kB / 0.5487 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4503, allocations: 4 kB / 0.5487 GB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.4505, allocations: 47.92 kB / 0.5487 GB, free: 14.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4515, allocations: 0.7589 MB / 0.5495 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.4516, allocations: 42.53 kB / 0.5495 GB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.4516, allocations: 16.86 kB / 0.5495 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.4516, allocations: 4 kB / 0.5495 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.4518, allocations: 115.6 kB / 0.5496 GB, free: 13.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.4518, allocations: 0 / 0.5496 GB, free: 13.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002226/0.4521, allocations: 105.4 kB / 0.5497 GB, free: 13.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.4521, allocations: 132.5 kB / 0.5499 GB, free: 13.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.4523, allocations: 177.9 kB / 0.55 GB, free: 13.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4523, allocations: 29.7 kB / 0.5501 GB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.4524, allocations: 127.9 kB / 0.5502 GB, free: 12.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.4525, allocations: 39.72 kB / 0.5502 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.4525, allocations: 4 kB / 0.5502 GB, free: 12.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4526, allocations: 326.8 kB / 0.5505 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.4526, allocations: 24.38 kB / 0.5506 GB, free: 12.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.4528, allocations: 135.3 kB / 0.5507 GB, free: 12.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.485e-05/0.4528, allocations: 48.05 kB / 0.5507 GB, free: 12.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4529, allocations: 0 / 0.5507 GB, free: 12.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002628/0.4531, allocations: 185 kB / 0.5509 GB, free: 12.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4532, allocations: 4 kB / 0.5509 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4532, allocations: 4 kB / 0.5509 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.4532, allocations: 8.5 kB / 0.5509 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4533, allocations: 43.91 kB / 0.551 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.4534, allocations: 8 kB / 0.551 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.4535, allocations: 27.83 kB / 0.551 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4535, allocations: 12 kB / 0.551 GB, free: 11.93 MB / 394.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 () * 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 9.641e-05/0.4536, allocations: 117.6 kB / 0.5511 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.4537, allocations: 23.75 kB / 0.5511 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.4537, allocations: 29.47 kB / 0.5512 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4537, allocations: 0 / 0.5512 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4537, allocations: 8.062 kB / 0.5512 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4538, allocations: 96 / 0.5512 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.4544, allocations: 0.4976 MB / 0.5517 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4544, allocations: 0 / 0.5517 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4545, allocations: 27.92 kB / 0.5517 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4545, allocations: 0 / 0.5517 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4545, allocations: 4 kB / 0.5517 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4546, allocations: 0 / 0.5517 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4546, allocations: 4 kB / 0.5517 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.4549, allocations: 365.4 kB / 0.552 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.455, allocations: 88.92 kB / 0.5521 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.455, allocations: 0 / 0.5521 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.4552, allocations: 19.98 kB / 0.5522 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.4552, allocations: 19.94 kB / 0.5522 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4553, allocations: 7.984 kB / 0.5522 GB, free: 10.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.4554, allocations: 140.4 kB / 0.5523 GB, free: 10.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4554, allocations: 0 / 0.5523 GB, free: 10.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.4557, allocations: 28 kB / 0.5523 GB, free: 10.45 MB / 394.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 () * 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.0001323/0.4558, allocations: 111.1 kB / 0.5524 GB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.456, allocations: 87.88 kB / 0.5525 GB, free: 10.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.456, allocations: 3.938 kB / 0.5525 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.4561, allocations: 39.92 kB / 0.5526 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.4565, allocations: 50.8 kB / 0.5526 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.4569, allocations: 260.4 kB / 0.5529 GB, free: 9.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.4572, allocations: 0.7285 MB / 0.5536 GB, free: 9.117 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.4573, allocations: 22.06 kB / 0.5536 GB, free: 9.094 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.4574, allocations: 19.44 kB / 0.5536 GB, free: 9.074 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4574, allocations: 0 / 0.5536 GB, free: 9.074 MB / 394.7 MB Notification: Performance of Templates: time 0.004304/0.4617, allocations: 1.758 MB / 0.5553 GB, free: 7.328 MB / 394.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)