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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001105/0.001105, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.371/1.371, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.2 MB / 422.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 69.05 kB / 0.5011 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1592, allocations: 80.2 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.002919/0.1622, allocations: 1.884 MB / 0.5813 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008553/0.1631, allocations: 0.5221 MB / 0.5818 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.1632, allocations: 4 kB / 0.5818 GB, free: 6.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.1633, allocations: 15.8 kB / 0.5818 GB, free: 6.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.904e-05/0.1634, allocations: 23.8 kB / 0.5818 GB, free: 6.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1636, allocations: 59.94 kB / 0.5819 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1638, allocations: 171.4 kB / 0.582 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.1639, allocations: 45.66 kB / 0.5821 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.295e-05/0.164, allocations: 47.78 kB / 0.5821 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.1641, allocations: 59.58 kB / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.1641, allocations: 12 kB / 0.5822 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.1642, allocations: 4 kB / 0.5822 GB, free: 6.359 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.1642, allocations: 23.91 kB / 0.5822 GB, free: 6.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.634e-05/0.1643, allocations: 59.61 kB / 0.5823 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.1644, allocations: 119.8 kB / 0.5824 GB, free: 6.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1644, allocations: 3.984 kB / 0.5824 GB, free: 6.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1644, allocations: 0 / 0.5824 GB, free: 6.156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.1645, allocations: 0 / 0.5824 GB, free: 6.156 MB / 494.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.000703/0.1652, allocations: 486.7 kB / 0.5829 GB, free: 5.633 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1652, allocations: 8.031 kB / 0.5829 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.1653, allocations: 20.75 kB / 0.5829 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.1655, allocations: 227.9 kB / 0.5831 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1655, allocations: 12.36 kB / 0.5831 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1656, allocations: 12.38 kB / 0.5831 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.1659, allocations: 153.4 kB / 0.5833 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1659, allocations: 0 / 0.5833 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1659, allocations: 4 kB / 0.5833 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1659, allocations: 4 kB / 0.5833 GB, free: 5.145 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1662, allocations: 71.88 kB / 0.5833 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.167, allocations: 0.7469 MB / 0.5841 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.1672, allocations: 50.55 kB / 0.5841 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1673, allocations: 32.83 kB / 0.5842 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1673, allocations: 7.938 kB / 0.5842 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.1676, allocations: 126.6 kB / 0.5843 GB, free: 4.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1676, allocations: 0 / 0.5843 GB, free: 4.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004778/0.1681, allocations: 165.4 kB / 0.5844 GB, free: 3.848 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.1682, allocations: 140.5 kB / 0.5846 GB, free: 3.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.1684, allocations: 191.1 kB / 0.5848 GB, free: 3.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1684, allocations: 29.94 kB / 0.5848 GB, free: 3.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.171e-05/0.1685, allocations: 135.6 kB / 0.5849 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1685, allocations: 43.59 kB / 0.585 GB, free: 3.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1686, allocations: 37.7 kB / 0.585 GB, free: 3.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1687, allocations: 326.8 kB / 0.5853 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.1688, allocations: 44.03 kB / 0.5853 GB, free: 2.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.169, allocations: 151.2 kB / 0.5855 GB, free: 2.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1693, allocations: 202.3 kB / 0.5857 GB, free: 2.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1694, allocations: 4 kB / 0.5857 GB, free: 2.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003708/0.1697, allocations: 197.5 kB / 0.5859 GB, free: 2.203 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1698, allocations: 9.812 kB / 0.5859 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1698, allocations: 4 kB / 0.5859 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1698, allocations: 8 kB / 0.5859 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.1699, allocations: 39.91 kB / 0.5859 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.17, allocations: 7.938 kB / 0.5859 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.1701, allocations: 27.83 kB / 0.586 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1701, allocations: 8 kB / 0.586 GB, free: 2.102 MB / 494.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.0001118/0.1703, allocations: 133.7 kB / 0.5861 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.1703, allocations: 31.64 kB / 0.5861 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1703, allocations: 17.41 kB / 0.5861 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1703, allocations: 4 kB / 0.5862 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1704, allocations: 0 / 0.5862 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1704, allocations: 3.984 kB / 0.5862 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007657/0.1711, allocations: 0.5093 MB / 0.5867 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1711, allocations: 4 kB / 0.5867 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/0.1713, allocations: 19.97 kB / 0.5867 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1713, allocations: 0 / 0.5867 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1713, allocations: 4 kB / 0.5867 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1713, allocations: 3.938 kB / 0.5867 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1713, allocations: 3.938 kB / 0.5867 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005569/0.1719, allocations: 360.5 kB / 0.587 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.1719, allocations: 92.92 kB / 0.5871 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.172, allocations: 0 / 0.5871 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.1722, allocations: 23.95 kB / 0.5871 GB, free: 0.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1722, allocations: 23.86 kB / 0.5872 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1722, allocations: 8.062 kB / 0.5872 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.1724, allocations: 144.4 kB / 0.5873 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1724, allocations: 0 / 0.5873 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.1727, allocations: 28 kB / 0.5873 GB, free: 0.5938 MB / 494.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.0001263/0.1728, allocations: 106.4 kB / 0.5874 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.1731, allocations: 119.7 kB / 0.5876 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1731, allocations: 4 kB / 0.5876 GB, free: 368 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1733, allocations: 49.03 kB / 0.5876 GB, free: 320 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.1738, allocations: 59.73 kB / 0.5877 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006463/0.1745, allocations: 386.5 kB / 0.588 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.1748, allocations: 0.7245 MB / 0.5887 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.1749, allocations: 21.48 kB / 0.5888 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.175, allocations: 15.44 kB / 0.5888 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.175, allocations: 0 / 0.5888 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.004414/0.1794, allocations: 1.82 MB / 0.5905 GB, free: 13.26 MB / 0.4981 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)