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.001431/0.001431, allocations: 116.2 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.001605/0.001605, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7806/0.7806, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 70.23 kB / 0.582 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 80.2 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002915/0.1312, allocations: 1.817 MB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.1321, allocations: 0.5415 MB / 0.6627 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.913e-05/0.1322, allocations: 4 kB / 0.6627 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1324, allocations: 23.67 kB / 0.6627 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.1325, allocations: 27.73 kB / 0.6627 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1327, allocations: 71.91 kB / 0.6628 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1329, allocations: 167.4 kB / 0.6629 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.1331, allocations: 61.58 kB / 0.663 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.24e-05/0.1332, allocations: 51.78 kB / 0.663 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.1333, allocations: 59.64 kB / 0.6631 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.1333, allocations: 15.94 kB / 0.6631 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.1334, allocations: 8 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.1334, allocations: 23.92 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.1335, allocations: 79.52 kB / 0.6632 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1337, allocations: 127.3 kB / 0.6633 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1337, allocations: 3.938 kB / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1337, allocations: 0 / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1337, allocations: 0 / 0.6633 GB, free: 7.168 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.000655/0.1343, allocations: 476.4 kB / 0.6638 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1344, allocations: 8.031 kB / 0.6638 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1344, allocations: 24.8 kB / 0.6638 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.1347, allocations: 236 kB / 0.6641 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1347, allocations: 8.375 kB / 0.6641 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1348, allocations: 16.38 kB / 0.6641 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.1351, allocations: 150.2 kB / 0.6642 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1351, allocations: 4 kB / 0.6642 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1351, allocations: 4 kB / 0.6642 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1351, allocations: 4 kB / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.1354, allocations: 63.89 kB / 0.6643 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.1362, allocations: 0.7354 MB / 0.665 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.1364, allocations: 54.48 kB / 0.6651 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1365, allocations: 32.84 kB / 0.6651 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1365, allocations: 0 / 0.6651 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.1367, allocations: 138.9 kB / 0.6652 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1367, allocations: 0 / 0.6652 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0004746/0.1372, allocations: 165.4 kB / 0.6654 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.1373, allocations: 132.5 kB / 0.6655 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.1375, allocations: 198.8 kB / 0.6657 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1375, allocations: 33.7 kB / 0.6657 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.1376, allocations: 132.2 kB / 0.6659 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.1376, allocations: 35.7 kB / 0.6659 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.417e-05/0.1377, allocations: 45.7 kB / 0.6659 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.653e-05/0.1378, allocations: 334.8 kB / 0.6663 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1379, allocations: 35.97 kB / 0.6663 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.1381, allocations: 148.2 kB / 0.6664 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.1384, allocations: 202.3 kB / 0.6666 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1384, allocations: 4 kB / 0.6666 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003845/0.1388, allocations: 209.3 kB / 0.6668 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1388, allocations: 12.44 kB / 0.6668 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1388, allocations: 7.938 kB / 0.6668 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1389, allocations: 8 kB / 0.6669 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.139, allocations: 31.97 kB / 0.6669 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.139, allocations: 7.938 kB / 0.6669 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1392, allocations: 27.88 kB / 0.6669 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1392, allocations: 8 kB / 0.6669 GB, free: 3.105 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.0001008/0.1393, allocations: 137.7 kB / 0.6671 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.1393, allocations: 15.91 kB / 0.6671 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.1394, allocations: 25.64 kB / 0.6671 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1394, allocations: 4 kB / 0.6671 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1394, allocations: 4 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.155e-05/0.1394, allocations: 96.94 kB / 0.6672 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1395, allocations: 4 kB / 0.6672 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.1396, allocations: 15.92 kB / 0.6672 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.1396, allocations: 11.98 kB / 0.6672 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005816/0.1402, allocations: 474.5 kB / 0.6677 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005557/0.1408, allocations: 0.5795 MB / 0.6682 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001399/0.141, allocations: 51.94 kB / 0.6683 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001121/0.1411, allocations: 139.2 kB / 0.6684 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of Backend: time 4.11e-07/0.1411, allocations: 4 kB / 0.6684 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007099/0.1418, allocations: 166.1 kB / 0.6686 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0008477/0.1427, allocations: 0.8187 MB / 0.6694 GB, free: 488 kB / 0.4981 GB Notification: Performance of Templates: time 0.005089/0.1478, allocations: 2.303 MB / 0.6716 GB, free: 14.2 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)