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.0008965/0.0008965, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009736/0.0009737, allocations: 177.3 kB / 15.95 MB, free: 216 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.48/1.48, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4054/0.4054, allocations: 54.97 MB / 325.3 MB, free: 0.7188 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.0006081/0.0006083, allocations: 20 kB / 396.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.33, allocations: 60.72 MB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegratorWithReset): time 0.001676/0.3318, allocations: 1.444 MB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007837/0.3326, allocations: 0.5607 MB / 459.3 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.3327, allocations: 0 / 459.3 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.489e-05/0.3327, allocations: 10.92 kB / 459.3 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.3328, allocations: 34.02 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.333, allocations: 48.33 kB / 459.4 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3332, allocations: 117.2 kB / 459.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.3334, allocations: 43.84 kB / 459.6 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.3335, allocations: 43.77 kB / 459.6 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.3335, allocations: 47.59 kB / 459.6 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.3336, allocations: 3 kB / 459.6 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.3336, allocations: 6.719 kB / 459.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.3336, allocations: 24.58 kB / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3337, allocations: 49.41 kB / 459.7 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.971e-05/0.3338, allocations: 83.23 kB / 459.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3338, allocations: 0 / 459.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3338, allocations: 1.094 kB / 459.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.3338, allocations: 0 / 459.8 MB, free: 37.9 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.0006036/0.3344, allocations: 458.6 kB / 460.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3345, allocations: 10.09 kB / 460.3 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3345, allocations: 17.09 kB / 460.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3347, allocations: 228.1 kB / 460.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3348, allocations: 9.094 kB / 460.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.3348, allocations: 19.14 kB / 460.5 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.3351, allocations: 145.5 kB / 460.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3351, allocations: 0 / 460.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3351, allocations: 8.469 kB / 460.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3351, allocations: 3.469 kB / 460.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.3353, allocations: 83.77 kB / 460.8 MB, free: 37.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.3361, allocations: 0.7432 MB / 461.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3363, allocations: 52.62 kB / 461.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3363, allocations: 8.141 kB / 461.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.3365, allocations: 131 kB / 461.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.3365, allocations: 0.8125 kB / 461.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004574/0.337, allocations: 182.8 kB / 461.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.3371, allocations: 132.7 kB / 462 MB, free: 36.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3372, allocations: 202.2 kB / 462.2 MB, free: 36.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3372, allocations: 30.11 kB / 462.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.3373, allocations: 130.2 kB / 462.4 MB, free: 36.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.3373, allocations: 30.42 kB / 462.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.3374, allocations: 5.594 kB / 462.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.961e-05/0.3374, allocations: 329 kB / 462.7 MB, free: 35.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3375, allocations: 43.86 kB / 462.8 MB, free: 35.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3377, allocations: 154.5 kB / 462.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.3378, allocations: 59.97 kB / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3378, allocations: 0 / 463 MB, free: 35.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003364/0.3382, allocations: 222.1 kB / 463.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3382, allocations: 5.906 kB / 463.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3382, allocations: 6 kB / 463.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3382, allocations: 6.547 kB / 463.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3384, allocations: 35.94 kB / 463.2 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3384, allocations: 11.03 kB / 463.3 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3385, allocations: 30.64 kB / 463.3 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3385, allocations: 15.47 kB / 463.3 MB, free: 35.48 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.279e-05/0.3386, allocations: 137.1 kB / 463.4 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3387, allocations: 22.61 kB / 463.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.3387, allocations: 21.95 kB / 463.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3387, allocations: 0 / 463.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3387, allocations: 2.812 kB / 463.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3387, allocations: 0 / 463.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.3393, allocations: 0.5269 MB / 464 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3394, allocations: 0 / 464 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3395, allocations: 30.41 kB / 464 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3395, allocations: 3.328 kB / 464 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.3395, allocations: 2.812 kB / 464 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3395, allocations: 2.375 kB / 464 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3395, allocations: 0 / 464 MB, free: 34.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005167/0.34, allocations: 418.3 kB / 464.5 MB, free: 34.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.3401, allocations: 98.16 kB / 464.5 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3401, allocations: 3.062 kB / 464.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3403, allocations: 17.67 kB / 464.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.3404, allocations: 17.67 kB / 464.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.3404, allocations: 2.875 kB / 464.6 MB, free: 34.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.392e-05/0.3405, allocations: 151.8 kB / 464.7 MB, free: 34.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3405, allocations: 0 / 464.7 MB, free: 34.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.3408, allocations: 31 kB / 464.8 MB, free: 34.46 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 0.0001006/0.3409, allocations: 103.4 kB / 464.9 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.3413, allocations: 125.7 kB / 465 MB, free: 34.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3413, allocations: 3.938 kB / 465 MB, free: 34.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3414, allocations: 53.64 kB / 465 MB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3418, allocations: 63 kB / 465.1 MB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.3424, allocations: 388.2 kB / 465.5 MB, free: 34.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.3426, allocations: 0.7334 MB / 466.2 MB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.3427, allocations: 12.88 kB / 466.2 MB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3428, allocations: 22.89 kB / 466.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3428, allocations: 0 / 466.3 MB, free: 33.38 MB / 382.1 MB Notification: Performance of Templates: time 0.004974/0.3477, allocations: 1.744 MB / 468 MB, free: 33.27 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: