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.001059/0.001064, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001321/0.001322, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4447/0.4447, allocations: 55.02 MB / 325.4 MB, free: 0.6992 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.0006605/0.0006608, allocations: 12 kB / 396.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.484/0.4847, allocations: 60.71 MB / 457.4 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegratorWithReset): time 0.001913/0.4866, allocations: 1.461 MB / 458.8 MB, free: 37.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.4874, allocations: 0.5517 MB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.4876, allocations: 6.531 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.4877, allocations: 16.72 kB / 459.4 MB, free: 37.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.4878, allocations: 23.53 kB / 459.4 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.488, allocations: 48.31 kB / 459.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.4881, allocations: 153.3 kB / 459.6 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.4883, allocations: 39.59 kB / 459.7 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.4884, allocations: 40.64 kB / 459.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.532e-05/0.4885, allocations: 46.25 kB / 459.7 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.4885, allocations: 5.625 kB / 459.7 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.4885, allocations: 2.688 kB / 459.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.4885, allocations: 22.5 kB / 459.8 MB, free: 37.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.666e-05/0.4886, allocations: 50.42 kB / 459.8 MB, free: 37.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.4887, allocations: 93.47 kB / 459.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4887, allocations: 0 / 459.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4887, allocations: 0 / 459.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.4887, allocations: 0 / 459.9 MB, free: 37.71 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.0006245/0.4894, allocations: 457.3 kB / 460.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4894, allocations: 8.5 kB / 460.4 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.4895, allocations: 16.41 kB / 460.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4897, allocations: 234.5 kB / 460.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.4897, allocations: 6.375 kB / 460.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.4898, allocations: 13.72 kB / 460.6 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.4901, allocations: 150.7 kB / 460.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4901, allocations: 6.594 kB / 460.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.4901, allocations: 9.688 kB / 460.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4901, allocations: 2.953 kB / 460.8 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002088/0.4904, allocations: 78.33 kB / 460.9 MB, free: 37.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.4912, allocations: 0.7391 MB / 461.6 MB, free: 36.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.4914, allocations: 50.66 kB / 461.7 MB, free: 36.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4915, allocations: 43.55 kB / 461.7 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.4915, allocations: 7.188 kB / 461.7 MB, free: 36.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.4918, allocations: 131.4 kB / 461.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.4918, allocations: 0.6562 kB / 461.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000449/0.4923, allocations: 182.8 kB / 462 MB, free: 36.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.4923, allocations: 133 kB / 462.2 MB, free: 36.08 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4925, allocations: 196.2 kB / 462.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4925, allocations: 33.52 kB / 462.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.4926, allocations: 124 kB / 462.5 MB, free: 35.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4926, allocations: 34.3 kB / 462.5 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.4926, allocations: 5.625 kB / 462.5 MB, free: 35.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.4927, allocations: 326.8 kB / 462.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.4928, allocations: 43.69 kB / 462.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.493, allocations: 152.6 kB / 463 MB, free: 35.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.4931, allocations: 73.3 kB / 463.1 MB, free: 35.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4931, allocations: 3.25 kB / 463.1 MB, free: 35.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003313/0.4934, allocations: 212.8 kB / 463.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.4935, allocations: 9.219 kB / 463.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4935, allocations: 3.562 kB / 463.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.4935, allocations: 6.578 kB / 463.3 MB, free: 35.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4936, allocations: 41.84 kB / 463.4 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.4937, allocations: 13.34 kB / 463.4 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.4938, allocations: 30.11 kB / 463.4 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4938, allocations: 13.56 kB / 463.4 MB, free: 35.28 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 ($whenCondition2,sampleTrigger.y,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,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 8.764e-05/0.4939, allocations: 135.6 kB / 463.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.4939, allocations: 25.52 kB / 463.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.74e-05/0.494, allocations: 18.77 kB / 463.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.494, allocations: 2.938 kB / 463.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.494, allocations: 0 / 463.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.494, allocations: 2.781 kB / 463.6 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.4947, allocations: 0.5335 MB / 464.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.4947, allocations: 2.938 kB / 464.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.4948, allocations: 16.06 kB / 464.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4948, allocations: 6.656 kB / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4948, allocations: 9.062 kB / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4948, allocations: 2 kB / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4948, allocations: 3 kB / 464.2 MB, free: 34.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.4953, allocations: 373.3 kB / 464.6 MB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.4953, allocations: 98.39 kB / 464.7 MB, free: 34.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.4953, allocations: 3.938 kB / 464.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4955, allocations: 27.47 kB / 464.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.4956, allocations: 8.828 kB / 464.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.4956, allocations: 2.594 kB / 464.7 MB, free: 34.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.535e-05/0.4957, allocations: 146.4 kB / 464.8 MB, free: 34.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4957, allocations: 0 / 464.8 MB, free: 34.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.496, allocations: 35.09 kB / 464.9 MB, free: 34.31 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 (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 9.503e-05/0.4961, allocations: 96.38 kB / 465 MB, free: 34.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.4964, allocations: 125.7 kB / 465.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4964, allocations: 2.781 kB / 465.1 MB, free: 34.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4965, allocations: 60.42 kB / 465.2 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.4971, allocations: 62.14 kB / 465.2 MB, free: 34.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.4976, allocations: 387.5 kB / 465.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.4978, allocations: 0.7218 MB / 466.3 MB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.838e-05/0.4979, allocations: 20.22 kB / 466.3 MB, free: 33.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.4979, allocations: 23.19 kB / 466.4 MB, free: 33.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4979, allocations: 0 / 466.4 MB, free: 33.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004024/0.502, allocations: 1.759 MB / 468.1 MB, free: 33.12 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: