Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001565/0.001565, allocations: 105.2 kB / 16.41 MB, free: 6 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.001314/0.001314, allocations: 190.2 kB / 17.34 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8337/0.8337, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.09 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1478, allocations: 80.94 MB / 0.6654 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003079/0.1509, allocations: 1.816 MB / 0.6671 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1519, allocations: 0.5415 MB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.91e-05/0.152, allocations: 0 / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1521, allocations: 31.66 kB / 0.6677 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.1522, allocations: 23.73 kB / 0.6677 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.1524, allocations: 67.92 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1526, allocations: 175.4 kB / 0.668 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1528, allocations: 33.67 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.256e-05/0.1528, allocations: 51.72 kB / 0.668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.1529, allocations: 67.58 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.153, allocations: 12 kB / 0.6681 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.153, allocations: 12 kB / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.153, allocations: 31.89 kB / 0.6682 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.121e-05/0.1531, allocations: 63.61 kB / 0.6682 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1533, allocations: 135.2 kB / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1533, allocations: 0 / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1533, allocations: 0 / 0.6683 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.1533, allocations: 0 / 0.6683 GB, free: 2.645 MB / 0.4981 GB 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.0007331/0.154, allocations: 478.6 kB / 0.6688 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1541, allocations: 9.109 kB / 0.6688 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1541, allocations: 20.8 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1545, allocations: 241.3 kB / 0.6691 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1545, allocations: 12.23 kB / 0.6691 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.1545, allocations: 12.38 kB / 0.6691 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.1548, allocations: 157.4 kB / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1548, allocations: 0 / 0.6692 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1548, allocations: 4 kB / 0.6692 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1548, allocations: 4 kB / 0.6692 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002297/0.1551, allocations: 75.88 kB / 0.6693 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.156, allocations: 0.7278 MB / 0.67 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.1562, allocations: 54.48 kB / 0.6701 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1563, allocations: 32.83 kB / 0.6701 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1563, allocations: 0 / 0.6701 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.1566, allocations: 130.7 kB / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1566, allocations: 0 / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0005109/0.1571, allocations: 169.3 kB / 0.6704 GB, free: 344 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.584e-05/0.1572, allocations: 132.5 kB / 0.6705 GB, free: 180 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.1574, allocations: 211 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1574, allocations: 29.7 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.1575, allocations: 131.7 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1576, allocations: 39.83 kB / 0.6709 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.1576, allocations: 45.7 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1578, allocations: 326.8 kB / 0.6713 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.1579, allocations: 35.97 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1581, allocations: 152.6 kB / 0.6714 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.1585, allocations: 206.3 kB / 0.6716 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1585, allocations: 0 / 0.6716 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004113/0.1589, allocations: 205.6 kB / 0.6718 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1589, allocations: 8 kB / 0.6718 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1589, allocations: 4 kB / 0.6719 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.1589, allocations: 11.92 kB / 0.6719 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1591, allocations: 31.92 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1591, allocations: 8 kB / 0.6719 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.1592, allocations: 31.83 kB / 0.6719 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.1592, allocations: 8 kB / 0.6719 GB, free: 14.58 MB / 0.5137 GB 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.000141/0.1594, allocations: 141.8 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1594, allocations: 16.14 kB / 0.6721 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.1594, allocations: 25.39 kB / 0.6721 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1594, allocations: 0 / 0.6721 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1595, allocations: 4 kB / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1595, allocations: 3.984 kB / 0.6721 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008035/0.1603, allocations: 0.5134 MB / 0.6726 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1603, allocations: 4.062 kB / 0.6726 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1604, allocations: 19.92 kB / 0.6726 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1604, allocations: 4 kB / 0.6727 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1604, allocations: 0 / 0.6727 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1604, allocations: 4 kB / 0.6727 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1604, allocations: 7.875 kB / 0.6727 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.1609, allocations: 356.4 kB / 0.673 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.161, allocations: 96.97 kB / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.161, allocations: 0 / 0.6731 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1612, allocations: 20.02 kB / 0.6731 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.1613, allocations: 15.92 kB / 0.6731 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1613, allocations: 8 kB / 0.6731 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001409/0.1614, allocations: 140.6 kB / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1614, allocations: 0 / 0.6733 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003299/0.1617, allocations: 28 kB / 0.6733 GB, free: 13.08 MB / 0.5137 GB 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.0001393/0.1619, allocations: 103.2 kB / 0.6734 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.1622, allocations: 119.7 kB / 0.6735 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1622, allocations: 0 / 0.6735 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1624, allocations: 49.03 kB / 0.6736 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.1629, allocations: 71.88 kB / 0.6736 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006538/0.1636, allocations: 385.6 kB / 0.674 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1639, allocations: 0.7281 MB / 0.6747 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.164, allocations: 19.44 kB / 0.6747 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.41e-07/0.164, allocations: 0 / 0.6747 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.004067/0.1681, allocations: 2.153 MB / 0.6768 GB, free: 9.398 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)