Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.008693/0.008693, allocations: 98.02 kB / 15.73 MB, free: 6.055 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.001855/0.001855, allocations: 193.3 kB / 16.68 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8301/0.8301, allocations: 135.1 MB / 425.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 68.8 kB / 0.5857 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1691, allocations: 80.92 MB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001501/0.1706, allocations: 0.5786 MB / 0.6653 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.1709, allocations: 46.45 kB / 0.6653 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.1709, allocations: 3.938 kB / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.1709, allocations: 0 / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.1709, allocations: 0 / 0.6653 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1711, allocations: 7.984 kB / 0.6653 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.477e-05/0.1712, allocations: 8 kB / 0.6653 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.1712, allocations: 3.984 kB / 0.6653 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.344e-05/0.1713, allocations: 3.938 kB / 0.6653 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.1713, allocations: 4 kB / 0.6653 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.386e-06/0.1713, allocations: 4 kB / 0.6653 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.695e-05/0.1714, allocations: 15.98 kB / 0.6653 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1714, allocations: 3.984 kB / 0.6653 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.1714, allocations: 3.938 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.924e-05/0.1715, allocations: 19.97 kB / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1715, allocations: 0 / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1715, allocations: 0 / 0.6654 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.1715, allocations: 0 / 0.6654 GB, free: 5.047 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.0002582/0.1718, allocations: 311.5 kB / 0.6657 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.1718, allocations: 9.109 kB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.1721, allocations: 24.91 kB / 0.6657 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.1722, allocations: 164.4 kB / 0.6659 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.1722, allocations: 384 / 0.6659 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-06/0.1722, allocations: 384 / 0.6659 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1723, allocations: 38.25 kB / 0.6659 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1724, allocations: 192 / 0.6659 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.1724, allocations: 3.938 kB / 0.6659 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1724, allocations: 4 kB / 0.6659 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.724e-05/0.1725, allocations: 11.98 kB / 0.6659 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.1726, allocations: 145.6 kB / 0.6661 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.1727, allocations: 22.94 kB / 0.6661 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.1727, allocations: 16.8 kB / 0.6661 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.1728, allocations: 0 / 0.6661 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1728, allocations: 38.56 kB / 0.6661 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1728, allocations: 0 / 0.6661 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002201/0.173, allocations: 53.55 kB / 0.6662 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1731, allocations: 51.41 kB / 0.6662 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.969e-05/0.1731, allocations: 89.86 kB / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1731, allocations: 25.7 kB / 0.6663 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.1732, allocations: 88.27 kB / 0.6664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1732, allocations: 0 / 0.6664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1732, allocations: 17.7 kB / 0.6664 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.1733, allocations: 314.8 kB / 0.6667 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.431e-05/0.1734, allocations: 4 kB / 0.6667 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.1734, allocations: 7.984 kB / 0.6667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.1735, allocations: 20.91 kB / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1735, allocations: 0 / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001161/0.1736, allocations: 45.58 kB / 0.6668 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1737, allocations: 4 kB / 0.6668 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1737, allocations: 0 / 0.6668 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1737, allocations: 7.938 kB / 0.6668 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.1738, allocations: 3.984 kB / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1738, allocations: 0 / 0.6668 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.997e-05/0.1738, allocations: 8.031 kB / 0.6668 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1738, allocations: 0 / 0.6668 GB, free: 3.32 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 5.823e-05/0.1739, allocations: 109.8 kB / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-06/0.1739, allocations: 0 / 0.6669 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.1739, allocations: 7.062 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1739, allocations: 4 kB / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.174, allocations: 0 / 0.667 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.174, allocations: 3.984 kB / 0.667 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.193e-05/0.174, allocations: 141.7 kB / 0.6671 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1741, allocations: 4 kB / 0.6671 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.1741, allocations: 7.984 kB / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1741, allocations: 0 / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1741, allocations: 7.938 kB / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1741, allocations: 0 / 0.6671 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1741, allocations: 3.938 kB / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1743, allocations: 77.05 kB / 0.6672 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.1743, allocations: 77.11 kB / 0.6673 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1743, allocations: 7.922 kB / 0.6673 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.1744, allocations: 4 kB / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-06/0.1744, allocations: 0 / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.1744, allocations: 3.938 kB / 0.6673 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.525e-05/0.1744, allocations: 75.28 kB / 0.6673 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1744, allocations: 0 / 0.6673 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001739/0.1746, allocations: 0 / 0.6673 GB, free: 2.695 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.0001221/0.1747, allocations: 104.6 kB / 0.6674 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1749, allocations: 15.98 kB / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1749, allocations: 0 / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.1749, allocations: 11.92 kB / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.1751, allocations: 0 / 0.6675 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.1753, allocations: 92.94 kB / 0.6676 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1756, allocations: 0.6729 MB / 0.6682 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.1756, allocations: 0 / 0.6682 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.1756, allocations: 7.438 kB / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1756, allocations: 0 / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.001965/0.1776, allocations: 230 kB / 0.6684 GB, free: 1.508 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)