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.001612/0.001612, allocations: 102.5 kB / 16.4 MB, free: 6.465 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.001582/0.001582, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9305/0.9305, allocations: 135.2 MB / 426.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 68.95 kB / 0.5864 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1602, allocations: 80.93 MB / 0.6654 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001761/0.162, allocations: 0.5682 MB / 0.666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000262/0.1622, allocations: 50.44 kB / 0.666 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.1622, allocations: 7.938 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.1622, allocations: 3.938 kB / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.1623, allocations: 0 / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.1625, allocations: 11.98 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.1625, allocations: 4 kB / 0.666 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.1625, allocations: 7.922 kB / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.2e-05/0.1626, allocations: 0 / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.922e-05/0.1626, allocations: 0 / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.1626, allocations: 0 / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1627, allocations: 23.97 kB / 0.6661 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.1627, allocations: 8 kB / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.1627, allocations: 0 / 0.6661 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.186e-05/0.1628, allocations: 11.98 kB / 0.6661 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1628, allocations: 3.938 kB / 0.6661 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1628, allocations: 0 / 0.6661 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1628, allocations: 0 / 0.6661 GB, free: 5.016 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.0003612/0.1632, allocations: 319.5 kB / 0.6664 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1632, allocations: 9.109 kB / 0.6664 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.1634, allocations: 24.91 kB / 0.6664 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1636, allocations: 164.4 kB / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.1636, allocations: 384 / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.1636, allocations: 384 / 0.6666 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1637, allocations: 34.25 kB / 0.6666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1637, allocations: 192 / 0.6666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1638, allocations: 3.938 kB / 0.6666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1638, allocations: 0 / 0.6666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.85e-05/0.1638, allocations: 15.92 kB / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.164, allocations: 153.7 kB / 0.6668 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.1641, allocations: 22.89 kB / 0.6668 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1642, allocations: 12.91 kB / 0.6668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.1642, allocations: 0 / 0.6668 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1642, allocations: 30.56 kB / 0.6668 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1642, allocations: 4 kB / 0.6668 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002453/0.1645, allocations: 57.55 kB / 0.6669 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.1645, allocations: 51.41 kB / 0.667 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.1645, allocations: 89.86 kB / 0.667 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1646, allocations: 25.7 kB / 0.6671 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.1646, allocations: 80.14 kB / 0.6671 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1646, allocations: 0 / 0.6671 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.1647, allocations: 17.84 kB / 0.6672 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1648, allocations: 314.8 kB / 0.6675 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.1649, allocations: 7.984 kB / 0.6675 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.1649, allocations: 7.938 kB / 0.6675 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.165, allocations: 16.84 kB / 0.6675 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.165, allocations: 0 / 0.6675 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001295/0.1651, allocations: 53.64 kB / 0.6675 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1651, allocations: 4 kB / 0.6675 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1652, allocations: 0 / 0.6675 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1652, allocations: 7.922 kB / 0.6675 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.1652, allocations: 4 kB / 0.6676 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.1652, allocations: 0 / 0.6676 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.1653, allocations: 4 kB / 0.6676 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1653, allocations: 4 kB / 0.6676 GB, free: 3.281 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 7.909e-05/0.1654, allocations: 109.9 kB / 0.6677 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.1654, allocations: 3.984 kB / 0.6677 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.1654, allocations: 11.06 kB / 0.6677 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1654, allocations: 0 / 0.6677 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1654, allocations: 4 kB / 0.6677 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1654, allocations: 0 / 0.6677 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1656, allocations: 141.7 kB / 0.6678 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1656, allocations: 0 / 0.6678 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.1656, allocations: 7.984 kB / 0.6678 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1656, allocations: 7.938 kB / 0.6678 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1656, allocations: 3.938 kB / 0.6678 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1656, allocations: 0 / 0.6678 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1656, allocations: 3.984 kB / 0.6678 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1658, allocations: 77.03 kB / 0.6679 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1658, allocations: 77.11 kB / 0.668 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1658, allocations: 3.938 kB / 0.668 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.017e-05/0.1659, allocations: 4.031 kB / 0.668 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.1659, allocations: 4 kB / 0.668 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1659, allocations: 0 / 0.668 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.1659, allocations: 75.28 kB / 0.6681 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1659, allocations: 0 / 0.6681 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001725/0.1661, allocations: 0 / 0.6681 GB, free: 2.656 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.0001383/0.1662, allocations: 99.23 kB / 0.6682 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1664, allocations: 15.98 kB / 0.6682 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1664, allocations: 0 / 0.6682 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.524e-05/0.1664, allocations: 7.938 kB / 0.6682 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1666, allocations: 4 kB / 0.6682 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.1668, allocations: 122.5 kB / 0.6683 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1672, allocations: 0.6729 MB / 0.669 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.1672, allocations: 11.56 kB / 0.669 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.1672, allocations: 3.938 kB / 0.669 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.001711/0.1689, allocations: 383.8 kB / 0.6693 GB, free: 1.277 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)