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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009983/0.009984, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4252/0.4252, allocations: 55.02 MB / 325.8 MB, free: 0.5508 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006366/0.0006367, allocations: 12 kB / 397.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4483, allocations: 60.73 MB / 458 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegratorWithReset): time 0.002519/0.4508, allocations: 1.49 MB / 459.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4519, allocations: 0.5708 MB / 460 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.4521, allocations: 3.938 kB / 460 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.4523, allocations: 18.56 kB / 460.1 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.86e-05/0.4524, allocations: 20.02 kB / 460.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.4527, allocations: 56.48 kB / 460.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.453, allocations: 164.1 kB / 460.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.4532, allocations: 51.23 kB / 460.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.4533, allocations: 44.55 kB / 460.4 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.4534, allocations: 50.17 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.4535, allocations: 5.609 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.4535, allocations: 5.75 kB / 460.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.4536, allocations: 21.23 kB / 460.5 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.4537, allocations: 84.98 kB / 460.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.4539, allocations: 120.1 kB / 460.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4539, allocations: 0 / 460.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.949e-06/0.4539, allocations: 0.5 kB / 460.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.454, allocations: 0.5625 kB / 460.7 MB, free: 37.95 MB / 382.1 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.0008981/0.4549, allocations: 455.9 kB / 461.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.4549, allocations: 8.656 kB / 461.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.455, allocations: 21.45 kB / 461.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.4553, allocations: 235.7 kB / 461.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4553, allocations: 6.938 kB / 461.4 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.4553, allocations: 16.19 kB / 461.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.4556, allocations: 151.3 kB / 461.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4557, allocations: 3.422 kB / 461.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.4557, allocations: 7.75 kB / 461.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.4557, allocations: 2.969 kB / 461.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.4559, allocations: 78.19 kB / 461.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.4567, allocations: 0.7453 MB / 462.4 MB, free: 36.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.4569, allocations: 59.38 kB / 462.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.457, allocations: 42.05 kB / 462.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.457, allocations: 0.5 kB / 462.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.4573, allocations: 126.2 kB / 462.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.4573, allocations: 0.6562 kB / 462.6 MB, free: 36.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000479/0.4578, allocations: 186.1 kB / 462.8 MB, free: 36.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4578, allocations: 131.5 kB / 462.9 MB, free: 36.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.458, allocations: 198.8 kB / 463.1 MB, free: 36.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.458, allocations: 32.2 kB / 463.1 MB, free: 36.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.4581, allocations: 131.7 kB / 463.3 MB, free: 36.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.4581, allocations: 32.78 kB / 463.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.4582, allocations: 28 kB / 463.3 MB, free: 36.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.916e-05/0.4582, allocations: 332 kB / 463.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.4584, allocations: 43.44 kB / 463.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.4585, allocations: 155.9 kB / 463.8 MB, free: 35.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003047/0.4588, allocations: 223 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4588, allocations: 4 kB / 464.1 MB, free: 35.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003813/0.4592, allocations: 214.6 kB / 464.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4593, allocations: 5.781 kB / 464.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.4593, allocations: 7.703 kB / 464.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.4593, allocations: 2.969 kB / 464.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.4595, allocations: 41.03 kB / 464.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.4595, allocations: 9.688 kB / 464.3 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.4596, allocations: 33.84 kB / 464.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.4597, allocations: 12.09 kB / 464.4 MB, free: 35.34 MB / 382.1 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 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.4598, allocations: 136.4 kB / 464.5 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.4598, allocations: 16.62 kB / 464.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.4599, allocations: 22.09 kB / 464.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4599, allocations: 3.031 kB / 464.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4599, allocations: 0 / 464.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4599, allocations: 3.031 kB / 464.6 MB, free: 35.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006671/0.4606, allocations: 0.5285 MB / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4606, allocations: 0 / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.4607, allocations: 22.67 kB / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4607, allocations: 0 / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.4608, allocations: 8.75 kB / 465.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4608, allocations: 6.594 kB / 465.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4608, allocations: 0 / 465.1 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.4612, allocations: 389.8 kB / 465.5 MB, free: 34.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.4613, allocations: 91.64 kB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.4613, allocations: 3.438 kB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.4615, allocations: 22.8 kB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.4616, allocations: 12.62 kB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.4616, allocations: 3.344 kB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.4617, allocations: 150.4 kB / 465.8 MB, free: 34.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4617, allocations: 4 kB / 465.8 MB, free: 34.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.462, allocations: 30.47 kB / 465.8 MB, free: 34.37 MB / 382.1 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.pulseStart,sampleTrigger.y,$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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000107/0.4621, allocations: 94.14 kB / 465.9 MB, free: 34.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.4624, allocations: 128.7 kB / 466 MB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4624, allocations: 0 / 466 MB, free: 34.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4626, allocations: 55.06 kB / 466.1 MB, free: 34.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000595/0.4632, allocations: 68.94 kB / 466.2 MB, free: 34.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.4637, allocations: 403.7 kB / 466.6 MB, free: 33.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.4639, allocations: 0.7271 MB / 467.3 MB, free: 33.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.546e-05/0.464, allocations: 13.62 kB / 467.3 MB, free: 33.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.464, allocations: 19 kB / 467.3 MB, free: 33.29 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.464, allocations: 1.594 kB / 467.3 MB, free: 33.29 MB / 382.1 MB Notification: Performance of Templates: time 0.004757/0.4688, allocations: 1.81 MB / 469.1 MB, free: 33.18 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegratorWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: