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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7141/0.7141, allocations: 133.4 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 222.9 MB / 404.7 MB, free: 6.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009992, allocations: 115 kB / 485.9 MB, free: 7.199 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 51.92 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1666, allocations: 80.43 MB / 0.6422 GB, free: 5.449 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001922/0.1686, allocations: 0.6409 MB / 0.6428 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.1689, allocations: 51.8 kB / 0.6428 GB, free: 4.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.035e-05/0.1689, allocations: 4 kB / 0.6428 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.1689, allocations: 0 / 0.6428 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.559e-06/0.1689, allocations: 0 / 0.6428 GB, free: 4.746 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1692, allocations: 11.98 kB / 0.6428 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.262e-05/0.1692, allocations: 4 kB / 0.6428 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.1693, allocations: 0 / 0.6428 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.448e-05/0.1693, allocations: 0 / 0.6428 GB, free: 4.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.1694, allocations: 7.984 kB / 0.6429 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.1694, allocations: 0 / 0.6429 GB, free: 4.723 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.1695, allocations: 19.97 kB / 0.6429 GB, free: 4.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.1695, allocations: 3.938 kB / 0.6429 GB, free: 4.699 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1695, allocations: 11.94 kB / 0.6429 GB, free: 4.688 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.88e-05/0.1696, allocations: 7.984 kB / 0.6429 GB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1696, allocations: 0 / 0.6429 GB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1696, allocations: 0 / 0.6429 GB, free: 4.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1696, allocations: 7.938 kB / 0.6429 GB, free: 4.672 MB / 442.7 MB 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.0003133/0.17, allocations: 319.6 kB / 0.6432 GB, free: 4.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.17, allocations: 12.03 kB / 0.6432 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/0.1703, allocations: 16.91 kB / 0.6432 GB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.1704, allocations: 160.4 kB / 0.6434 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1704, allocations: 384 / 0.6434 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.1704, allocations: 384 / 0.6434 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1706, allocations: 38.25 kB / 0.6434 GB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1706, allocations: 192 / 0.6434 GB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.1706, allocations: 3.938 kB / 0.6434 GB, free: 4.039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1706, allocations: 3.984 kB / 0.6434 GB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.1707, allocations: 15.92 kB / 0.6434 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1709, allocations: 149.7 kB / 0.6436 GB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.102e-05/0.171, allocations: 22.61 kB / 0.6436 GB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.171, allocations: 16.91 kB / 0.6436 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.171, allocations: 0 / 0.6436 GB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1711, allocations: 30.56 kB / 0.6437 GB, free: 3.734 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1711, allocations: 0 / 0.6437 GB, free: 3.734 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002363/0.1713, allocations: 57.55 kB / 0.6437 GB, free: 3.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1714, allocations: 55.53 kB / 0.6438 GB, free: 3.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.558e-05/0.1714, allocations: 89.86 kB / 0.6439 GB, free: 3.508 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1714, allocations: 29.7 kB / 0.6439 GB, free: 3.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.1715, allocations: 80.14 kB / 0.644 GB, free: 3.391 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1715, allocations: 7.844 kB / 0.644 GB, free: 3.383 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.1715, allocations: 9.719 kB / 0.644 GB, free: 3.367 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.1716, allocations: 310.8 kB / 0.6443 GB, free: 3.055 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.1717, allocations: 11.98 kB / 0.6443 GB, free: 3.043 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.1717, allocations: 4 kB / 0.6443 GB, free: 3.039 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.11e-05/0.1718, allocations: 20.84 kB / 0.6443 GB, free: 3.016 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1718, allocations: 0 / 0.6443 GB, free: 3.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001237/0.172, allocations: 45.61 kB / 0.6443 GB, free: 2.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.172, allocations: 4 kB / 0.6444 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.172, allocations: 96 / 0.6444 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.172, allocations: 11.94 kB / 0.6444 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.351e-05/0.1721, allocations: 0 / 0.6444 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.1721, allocations: 0 / 0.6444 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.1721, allocations: 4 kB / 0.6444 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1721, allocations: 3.984 kB / 0.6444 GB, free: 2.941 MB / 442.7 MB 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.066e-05/0.1722, allocations: 107.2 kB / 0.6445 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-06/0.1722, allocations: 0 / 0.6445 GB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.1722, allocations: 11.06 kB / 0.6445 GB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1723, allocations: 4 kB / 0.6445 GB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1723, allocations: 3.938 kB / 0.6445 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1723, allocations: 0 / 0.6445 GB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.955e-05/0.1724, allocations: 149.7 kB / 0.6446 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1724, allocations: 0 / 0.6446 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/0.1724, allocations: 4 kB / 0.6446 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1724, allocations: 0 / 0.6446 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1724, allocations: 3.938 kB / 0.6446 GB, free: 2.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1724, allocations: 4 kB / 0.6446 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1724, allocations: 0 / 0.6446 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.1729, allocations: 0.6201 MB / 0.6453 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.1729, allocations: 77.11 kB / 0.6453 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1729, allocations: 0 / 0.6453 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.173, allocations: 0 / 0.6453 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.173, allocations: 7.969 kB / 0.6453 GB, free: 1.824 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.173, allocations: 7.984 kB / 0.6453 GB, free: 1.816 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.1731, allocations: 75.28 kB / 0.6454 GB, free: 1.742 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.743e-06/0.1731, allocations: 0 / 0.6454 GB, free: 1.742 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.1733, allocations: 7.938 kB / 0.6454 GB, free: 1.734 MB / 442.7 MB 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.0001248/0.1735, allocations: 95.25 kB / 0.6455 GB, free: 1.633 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1736, allocations: 15.98 kB / 0.6455 GB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1736, allocations: 0 / 0.6455 GB, free: 1.617 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.1737, allocations: 7.984 kB / 0.6455 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.1738, allocations: 8.219 kB / 0.6455 GB, free: 1.602 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.1742, allocations: 185.6 kB / 0.6457 GB, free: 1.383 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1744, allocations: 0.6692 MB / 0.6464 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.914e-05/0.1744, allocations: 12.11 kB / 0.6464 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.1745, allocations: 7.438 kB / 0.6464 GB, free: 0.668 MB / 442.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1745, allocations: 3.938 kB / 0.6464 GB, free: 0.6641 MB / 442.7 MB Notification: Performance of Templates: time 0.001757/0.1762, allocations: 222.3 kB / 0.6466 GB, free: 460 kB / 442.7 MB 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)