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.008932/0.008932, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001727/0.001728, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4095/0.4095, allocations: 54.94 MB / 324.8 MB, free: 15.93 MB / 270.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.001469/0.001469, allocations: 71.98 kB / 456.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 59.59 MB / 0.5037 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegratorWithReset): time 0.003869/0.1422, allocations: 1.781 MB / 0.5054 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1437, allocations: 0.5878 MB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.1439, allocations: 2.469 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.1441, allocations: 20.92 kB / 0.506 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.982e-05/0.1442, allocations: 30.14 kB / 0.5061 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1445, allocations: 62.05 kB / 0.5061 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.1448, allocations: 169.2 kB / 0.5063 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.145, allocations: 59.61 kB / 0.5063 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.718e-05/0.1451, allocations: 53.59 kB / 0.5064 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.1452, allocations: 61.39 kB / 0.5065 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.1452, allocations: 11 kB / 0.5065 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.1453, allocations: 9.625 kB / 0.5065 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.1453, allocations: 27.98 kB / 0.5065 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.1454, allocations: 64.11 kB / 0.5066 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1456, allocations: 141.6 kB / 0.5067 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1457, allocations: 1.375 kB / 0.5067 GB, free: 7.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1457, allocations: 0 / 0.5067 GB, free: 7.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1457, allocations: 0 / 0.5067 GB, free: 7.41 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.0008539/0.1465, allocations: 481.7 kB / 0.5072 GB, free: 6.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.1466, allocations: 9.625 kB / 0.5072 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.758e-05/0.1467, allocations: 20.98 kB / 0.5072 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1471, allocations: 232.6 kB / 0.5074 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1471, allocations: 8.5 kB / 0.5074 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.1472, allocations: 16.19 kB / 0.5074 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.1475, allocations: 146.5 kB / 0.5076 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1476, allocations: 0 / 0.5076 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.1476, allocations: 5.375 kB / 0.5076 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1476, allocations: 2.75 kB / 0.5076 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.148, allocations: 78.36 kB / 0.5077 GB, free: 6.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.1492, allocations: 0.7348 MB / 0.5084 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1495, allocations: 61.31 kB / 0.5084 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.1496, allocations: 36.42 kB / 0.5085 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1497, allocations: 1.438 kB / 0.5085 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.15, allocations: 129 kB / 0.5086 GB, free: 5.598 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/0.15, allocations: 0 / 0.5086 GB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007752/0.1508, allocations: 160.1 kB / 0.5087 GB, free: 5.508 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1509, allocations: 139.2 kB / 0.5089 GB, free: 5.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.1511, allocations: 201.5 kB / 0.5091 GB, free: 5.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1512, allocations: 27.27 kB / 0.5091 GB, free: 5.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.1512, allocations: 128.8 kB / 0.5092 GB, free: 5.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1513, allocations: 30.98 kB / 0.5092 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.689e-05/0.1514, allocations: 44.7 kB / 0.5093 GB, free: 4.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.707e-05/0.1515, allocations: 326.5 kB / 0.5096 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1517, allocations: 45.72 kB / 0.5096 GB, free: 4.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.1519, allocations: 152.3 kB / 0.5098 GB, free: 4.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.1524, allocations: 210.3 kB / 0.51 GB, free: 4.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.1524, allocations: 4 kB / 0.51 GB, free: 4.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005901/0.153, allocations: 201.4 kB / 0.5102 GB, free: 3.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.153, allocations: 4 kB / 0.5102 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1531, allocations: 4 kB / 0.5102 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1531, allocations: 8 kB / 0.5102 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.1533, allocations: 35.92 kB / 0.5102 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1534, allocations: 7.938 kB / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/0.1536, allocations: 31.75 kB / 0.5103 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1536, allocations: 12 kB / 0.5103 GB, free: 3.859 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.0001099/0.1538, allocations: 137.8 kB / 0.5104 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.1538, allocations: 15.81 kB / 0.5104 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.1539, allocations: 21.39 kB / 0.5105 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1539, allocations: 7.938 kB / 0.5105 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1539, allocations: 0 / 0.5105 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1539, allocations: 3.938 kB / 0.5105 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009937/0.1549, allocations: 0.5171 MB / 0.511 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.155, allocations: 0 / 0.511 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1552, allocations: 23.92 kB / 0.511 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1552, allocations: 288 / 0.511 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.1552, allocations: 7.938 kB / 0.511 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1552, allocations: 0 / 0.511 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1553, allocations: 4 kB / 0.511 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.1559, allocations: 356.2 kB / 0.5113 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.156, allocations: 100.9 kB / 0.5114 GB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.1561, allocations: 7.938 kB / 0.5114 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.1564, allocations: 11.98 kB / 0.5115 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.1565, allocations: 19.92 kB / 0.5115 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1565, allocations: 12 kB / 0.5115 GB, free: 2.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.1566, allocations: 144.4 kB / 0.5116 GB, free: 2.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1566, allocations: 0 / 0.5116 GB, free: 2.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005743/0.1572, allocations: 28 kB / 0.5117 GB, free: 2.348 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.0001104/0.1574, allocations: 102.4 kB / 0.5118 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004928/0.1579, allocations: 119.8 kB / 0.5119 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1579, allocations: 0 / 0.5119 GB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002253/0.1581, allocations: 48.97 kB / 0.5119 GB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.1591, allocations: 65.66 kB / 0.512 GB, free: 2.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007376/0.1598, allocations: 360.3 kB / 0.5123 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.16, allocations: 0.7242 MB / 0.513 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.1601, allocations: 13.55 kB / 0.513 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.1602, allocations: 19.44 kB / 0.5131 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1602, allocations: 0 / 0.5131 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of Templates: time 0.008305/0.1685, allocations: 2.025 MB / 0.515 GB, free: 14.84 MB / 398.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)