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.001207/0.001206, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001487/0.001487, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.535/1.535, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3921/0.3921, allocations: 54.93 MB / 324.4 MB, free: 164 kB / 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.001384/0.001384, allocations: 63.91 kB / 394.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 59.59 MB / 454.5 MB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegratorWithReset): time 0.2001/0.3237, allocations: 1.845 MB / 456.3 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007465/0.3244, allocations: 0.5762 MB / 456.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.3245, allocations: 6.375 kB / 456.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.3247, allocations: 21.84 kB / 456.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.192e-05/0.3248, allocations: 17.09 kB / 456.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.325, allocations: 60.27 kB / 457 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3252, allocations: 164.5 kB / 457.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3253, allocations: 56.02 kB / 457.2 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.903e-05/0.3254, allocations: 56.33 kB / 457.3 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.3254, allocations: 57.7 kB / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.3254, allocations: 12.31 kB / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.3255, allocations: 9.719 kB / 457.3 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.3255, allocations: 31.08 kB / 457.4 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.3256, allocations: 64.02 kB / 457.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3257, allocations: 135.3 kB / 457.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3257, allocations: 6.938 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3257, allocations: 0.9062 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.3257, allocations: 0 / 457.6 MB, free: 38.45 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.0005231/0.3262, allocations: 467.3 kB / 458 MB, free: 38.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3263, allocations: 10.97 kB / 458 MB, free: 38.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.3263, allocations: 27.08 kB / 458.1 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3265, allocations: 220 kB / 458.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.3265, allocations: 7 kB / 458.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.3265, allocations: 20.28 kB / 458.3 MB, free: 37.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3268, allocations: 153.5 kB / 458.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3268, allocations: 3.75 kB / 458.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3268, allocations: 3.688 kB / 458.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3268, allocations: 5.5 kB / 458.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.327, allocations: 68.69 kB / 458.5 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.3277, allocations: 0.7417 MB / 459.3 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3278, allocations: 42.67 kB / 459.3 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.3279, allocations: 39.78 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3279, allocations: 4.406 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.3281, allocations: 125.1 kB / 459.5 MB, free: 37.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3281, allocations: 0.9688 kB / 459.5 MB, free: 37.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003958/0.3285, allocations: 163.7 kB / 459.6 MB, free: 37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.3286, allocations: 137.6 kB / 459.8 MB, free: 36.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3287, allocations: 194.2 kB / 460 MB, free: 36.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3287, allocations: 29.58 kB / 460 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.3288, allocations: 133.6 kB / 460.1 MB, free: 36.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.3288, allocations: 36.16 kB / 460.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.3289, allocations: 38.83 kB / 460.2 MB, free: 36.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.524e-05/0.3289, allocations: 332.1 kB / 460.5 MB, free: 36.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.329, allocations: 47.38 kB / 460.6 MB, free: 36.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.3292, allocations: 149.2 kB / 460.7 MB, free: 36.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3294, allocations: 199.5 kB / 460.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3294, allocations: 2.594 kB / 460.9 MB, free: 35.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003148/0.3297, allocations: 210.1 kB / 461.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3297, allocations: 10.34 kB / 461.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3298, allocations: 2.781 kB / 461.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3298, allocations: 5.812 kB / 461.1 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3299, allocations: 38.12 kB / 461.2 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3299, allocations: 10.25 kB / 461.2 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.33, allocations: 26.22 kB / 461.2 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3301, allocations: 14 kB / 461.2 MB, free: 35.93 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 7.263e-05/0.3301, allocations: 132.2 kB / 461.4 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3302, allocations: 20.5 kB / 461.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.3302, allocations: 21.48 kB / 461.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3302, allocations: 3.75 kB / 461.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3302, allocations: 0 / 461.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3302, allocations: 3.656 kB / 461.4 MB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.3308, allocations: 0.5146 MB / 461.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3308, allocations: 0 / 461.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3309, allocations: 24.06 kB / 461.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.3309, allocations: 0 / 461.9 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3309, allocations: 6.844 kB / 462 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.331, allocations: 1.062 kB / 462 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.331, allocations: 3.875 kB / 462 MB, free: 35.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.3314, allocations: 360.8 kB / 462.3 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.28e-05/0.3314, allocations: 94.95 kB / 462.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.3314, allocations: 9.469 kB / 462.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.3316, allocations: 12.95 kB / 462.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.3317, allocations: 18.14 kB / 462.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.3317, allocations: 5.812 kB / 462.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.008e-05/0.3318, allocations: 151 kB / 462.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3318, allocations: 0 / 462.6 MB, free: 34.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.3321, allocations: 25.53 kB / 462.6 MB, free: 34.98 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 8.981e-05/0.3322, allocations: 105.2 kB / 462.7 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.3325, allocations: 116.5 kB / 462.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3325, allocations: 0 / 462.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3326, allocations: 52.03 kB / 462.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.3332, allocations: 60.11 kB / 462.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.3337, allocations: 399 kB / 463.3 MB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.3339, allocations: 0.7211 MB / 464.1 MB, free: 33.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.334, allocations: 22.86 kB / 464.1 MB, free: 33.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.334, allocations: 17.91 kB / 464.1 MB, free: 33.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.334, allocations: 3.938 kB / 464.1 MB, free: 33.92 MB / 382.1 MB Notification: Performance of Templates: time 0.004071/0.3381, allocations: 1.927 MB / 466 MB, free: 33.79 MB / 382.1 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)