Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.00125/0.001251, allocations: 187 kB / 17.34 MB, free: 5.742 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7654/0.7654, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 73.48 kB / 0.5821 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1632, allocations: 80.2 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.00182/0.165, allocations: 0.5786 MB / 0.6609 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002397/0.1653, allocations: 47.8 kB / 0.661 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.1653, allocations: 3.938 kB / 0.661 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1654, allocations: 0 / 0.661 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.883e-06/0.1654, allocations: 4 kB / 0.661 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1656, allocations: 19.92 kB / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.1657, allocations: 0 / 0.661 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.1657, allocations: 7.984 kB / 0.661 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325e-05/0.1657, allocations: 3.938 kB / 0.661 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.272e-05/0.1657, allocations: 3.984 kB / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1658, allocations: 0 / 0.661 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1659, allocations: 19.98 kB / 0.661 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.1659, allocations: 4 kB / 0.6611 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.1659, allocations: 0 / 0.6611 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.166, allocations: 15.97 kB / 0.6611 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.166, allocations: 4 kB / 0.6611 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.166, allocations: 0 / 0.6611 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.166, allocations: 0 / 0.6611 GB, free: 9.527 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002801/0.1663, allocations: 315.6 kB / 0.6614 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1664, allocations: 8.031 kB / 0.6614 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002402/0.1666, allocations: 16.91 kB / 0.6614 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.638e-05/0.1667, allocations: 170.9 kB / 0.6616 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.1667, allocations: 4.375 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.1668, allocations: 4.312 kB / 0.6616 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1669, allocations: 34.25 kB / 0.6616 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1669, allocations: 192 / 0.6616 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1669, allocations: 3.938 kB / 0.6616 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1669, allocations: 0 / 0.6616 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/0.167, allocations: 11.98 kB / 0.6616 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.1672, allocations: 153.6 kB / 0.6618 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.1673, allocations: 22.94 kB / 0.6618 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.1673, allocations: 12.86 kB / 0.6618 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.1673, allocations: 0 / 0.6618 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.1674, allocations: 34.55 kB / 0.6618 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1674, allocations: 0 / 0.6618 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002496/0.1676, allocations: 53.62 kB / 0.6619 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1677, allocations: 51.41 kB / 0.6619 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.569e-05/0.1677, allocations: 89.86 kB / 0.662 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1677, allocations: 25.7 kB / 0.662 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1678, allocations: 80.14 kB / 0.6621 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1678, allocations: 0 / 0.6621 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1678, allocations: 17.7 kB / 0.6621 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.168, allocations: 319 kB / 0.6624 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.168, allocations: 7.938 kB / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.1681, allocations: 11.92 kB / 0.6625 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.835e-05/0.1682, allocations: 16.84 kB / 0.6625 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1682, allocations: 0 / 0.6625 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001308/0.1683, allocations: 41.78 kB / 0.6625 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1684, allocations: 8 kB / 0.6625 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1684, allocations: 0 / 0.6625 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1684, allocations: 3.938 kB / 0.6625 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.1685, allocations: 7.984 kB / 0.6625 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1685, allocations: 0 / 0.6625 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.167e-05/0.1685, allocations: 0 / 0.6625 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.1685, allocations: 4 kB / 0.6625 GB, free: 7.805 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.799e-05/0.1686, allocations: 109.8 kB / 0.6626 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.1686, allocations: 4 kB / 0.6626 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.1686, allocations: 11.06 kB / 0.6627 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1686, allocations: 0 / 0.6627 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1687, allocations: 3.984 kB / 0.6627 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1687, allocations: 4 kB / 0.6627 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.204e-05/0.1688, allocations: 145.7 kB / 0.6628 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1688, allocations: 4 kB / 0.6628 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.1688, allocations: 7.984 kB / 0.6628 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1688, allocations: 0 / 0.6628 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1688, allocations: 7.875 kB / 0.6628 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1688, allocations: 4 kB / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1689, allocations: 0 / 0.6628 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.169, allocations: 65.12 kB / 0.6629 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.169, allocations: 84.95 kB / 0.663 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1691, allocations: 7.922 kB / 0.663 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.183e-05/0.1691, allocations: 0 / 0.663 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1691, allocations: 15.95 kB / 0.663 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1691, allocations: 0 / 0.663 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.722e-05/0.1692, allocations: 75.28 kB / 0.6631 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1692, allocations: 0 / 0.6631 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001808/0.1694, allocations: 0 / 0.6631 GB, free: 7.164 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001285/0.1695, allocations: 95.25 kB / 0.6631 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.1697, allocations: 11.98 kB / 0.6632 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1697, allocations: 4.062 kB / 0.6632 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-05/0.1697, allocations: 7.984 kB / 0.6632 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.1699, allocations: 5.719 kB / 0.6632 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.1701, allocations: 110.6 kB / 0.6633 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.1704, allocations: 0.669 MB / 0.6639 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.1704, allocations: 11.42 kB / 0.6639 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.1704, allocations: 7.875 kB / 0.664 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of Templates: time 0.001541/0.172, allocations: 387.8 kB / 0.6643 GB, free: 5.797 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)