Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001055/0.001055, allocations: 118.4 kB / 16.42 MB, free: 6.5 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.0009901/0.0009901, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 67.28 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1314, allocations: 80.22 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002594/0.134, allocations: 1.807 MB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008679/0.1349, allocations: 0.5415 MB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.121e-05/0.135, allocations: 4 kB / 0.6627 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/0.1351, allocations: 23.67 kB / 0.6627 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.1352, allocations: 35.67 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.1354, allocations: 63.92 kB / 0.6628 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.1356, allocations: 175.4 kB / 0.6629 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1358, allocations: 57.64 kB / 0.663 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.1359, allocations: 43.8 kB / 0.663 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.1359, allocations: 67.58 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.136, allocations: 8 kB / 0.6631 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.136, allocations: 12 kB / 0.6631 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.136, allocations: 31.89 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.1361, allocations: 67.55 kB / 0.6632 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1363, allocations: 127.4 kB / 0.6633 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1363, allocations: 0 / 0.6633 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1363, allocations: 0 / 0.6633 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.1363, allocations: 0 / 0.6633 GB, free: 7.184 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.0006446/0.1369, allocations: 478.7 kB / 0.6638 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.137, allocations: 8.031 kB / 0.6638 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.137, allocations: 16.75 kB / 0.6638 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1373, allocations: 239.8 kB / 0.664 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1373, allocations: 12.38 kB / 0.6641 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1374, allocations: 12.38 kB / 0.6641 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.1376, allocations: 150.2 kB / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1376, allocations: 0 / 0.6642 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1377, allocations: 4 kB / 0.6642 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1377, allocations: 0 / 0.6642 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.1379, allocations: 79.88 kB / 0.6643 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008243/0.1387, allocations: 0.7392 MB / 0.665 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1389, allocations: 50.5 kB / 0.6651 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.139, allocations: 28.83 kB / 0.6651 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.139, allocations: 4 kB / 0.6651 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1393, allocations: 126.7 kB / 0.6652 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.1393, allocations: 0 / 0.6652 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004605/0.1397, allocations: 173.3 kB / 0.6654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.1398, allocations: 136.8 kB / 0.6655 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.14, allocations: 198.8 kB / 0.6657 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.14, allocations: 29.7 kB / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.1401, allocations: 135.7 kB / 0.6659 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.1401, allocations: 35.69 kB / 0.6659 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.1402, allocations: 41.7 kB / 0.6659 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.1403, allocations: 326.8 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1404, allocations: 43.97 kB / 0.6663 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1406, allocations: 153.8 kB / 0.6664 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1409, allocations: 206.2 kB / 0.6666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1409, allocations: 0 / 0.6666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003824/0.1413, allocations: 213.3 kB / 0.6668 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1413, allocations: 4 kB / 0.6668 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1413, allocations: 4 kB / 0.6668 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1414, allocations: 8 kB / 0.6668 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1415, allocations: 31.92 kB / 0.6669 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1415, allocations: 4 kB / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1417, allocations: 28.11 kB / 0.6669 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1417, allocations: 12 kB / 0.6669 GB, free: 3.121 MB / 0.4981 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.000104/0.1418, allocations: 145.6 kB / 0.6671 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.1418, allocations: 15.81 kB / 0.6671 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.1419, allocations: 21.39 kB / 0.6671 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1419, allocations: 0 / 0.6671 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1419, allocations: 4 kB / 0.6671 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.1419, allocations: 88.92 kB / 0.6672 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.142, allocations: 0 / 0.6672 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1421, allocations: 27.91 kB / 0.6672 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.1421, allocations: 11.98 kB / 0.6672 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005849/0.1427, allocations: 466.5 kB / 0.6677 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005502/0.1433, allocations: 0.5826 MB / 0.6682 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001387/0.1434, allocations: 48.09 kB / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.726e-05/0.1435, allocations: 139.2 kB / 0.6684 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of Backend: time 3e-07/0.1436, allocations: 0 / 0.6684 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006923/0.1443, allocations: 166.6 kB / 0.6686 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008436/0.1451, allocations: 0.8302 MB / 0.6694 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of Templates: time 0.004916/0.15, allocations: 2.292 MB / 0.6716 GB, free: 14.23 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)