Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00561/0.00561, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001196/0.001196, allocations: 195.8 kB / 16.67 MB, free: 5.953 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.383/1.383, allocations: 222.9 MB / 240.4 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.8393/0.8393, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64 kB / 0.5857 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1643, allocations: 80.92 MB / 0.6647 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001947/0.1663, allocations: 0.5597 MB / 0.6652 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007157/0.167, allocations: 325.8 kB / 0.6655 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.1671, allocations: 4 kB / 0.6655 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.1671, allocations: 0 / 0.6655 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-06/0.1671, allocations: 0 / 0.6655 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.1676, allocations: 109.2 kB / 0.6657 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.099e-05/0.1677, allocations: 7.938 kB / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1678, allocations: 0 / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.484e-05/0.1678, allocations: 0 / 0.6657 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.934e-05/0.1678, allocations: 12 kB / 0.6657 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.1678, allocations: 0 / 0.6657 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004178/0.1683, allocations: 271.6 kB / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.1683, allocations: 0 / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.1683, allocations: 3.984 kB / 0.6659 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1685, allocations: 87.73 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1685, allocations: 0 / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1685, allocations: 0 / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1685, allocations: 0 / 0.666 GB, free: 4.383 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.0003838/0.1689, allocations: 339.3 kB / 0.6663 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.169, allocations: 13.11 kB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.828e-05/0.1691, allocations: 4.875 kB / 0.6664 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1692, allocations: 160.4 kB / 0.6665 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1692, allocations: 384 / 0.6665 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1692, allocations: 4.375 kB / 0.6665 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.1693, allocations: 26.27 kB / 0.6665 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1693, allocations: 4.125 kB / 0.6665 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1693, allocations: 3.938 kB / 0.6665 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1693, allocations: 3.984 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.1694, allocations: 4 kB / 0.6666 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1695, allocations: 157.7 kB / 0.6667 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.1696, allocations: 14.58 kB / 0.6667 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.1696, allocations: 8.953 kB / 0.6667 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.1702, allocations: 429.5 kB / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1702, allocations: 30.56 kB / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1702, allocations: 0 / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001659/0.1704, allocations: 41.56 kB / 0.6672 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.1704, allocations: 51.41 kB / 0.6673 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.1705, allocations: 89.86 kB / 0.6673 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1705, allocations: 29.7 kB / 0.6674 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.1705, allocations: 84.14 kB / 0.6675 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.1706, allocations: 4.125 kB / 0.6675 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-05/0.1706, allocations: 9.719 kB / 0.6675 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1707, allocations: 310.8 kB / 0.6678 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.1707, allocations: 4 kB / 0.6678 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.1708, allocations: 0 / 0.6678 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.794e-05/0.1708, allocations: 12.8 kB / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1708, allocations: 0 / 0.6678 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.268e-05/0.1709, allocations: 45.7 kB / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1709, allocations: 7.938 kB / 0.6678 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1709, allocations: 4 kB / 0.6678 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1709, allocations: 3.938 kB / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.307e-05/0.171, allocations: 0 / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.171, allocations: 0 / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.347e-05/0.171, allocations: 0 / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.171, allocations: 7.938 kB / 0.6678 GB, free: 2.195 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.358e-05/0.1711, allocations: 107.2 kB / 0.6679 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.1711, allocations: 4.031 kB / 0.6679 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.76e-05/0.1712, allocations: 48.69 kB / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1712, allocations: 0 / 0.668 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1712, allocations: 4 kB / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1712, allocations: 0 / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.1714, allocations: 145.7 kB / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1714, allocations: 0 / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1714, allocations: 0 / 0.6681 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1714, allocations: 4 kB / 0.6681 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1714, allocations: 3.938 kB / 0.6681 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1714, allocations: 4.031 kB / 0.6681 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1714, allocations: 0 / 0.6681 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.118e-05/0.1715, allocations: 61.08 kB / 0.6682 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.1716, allocations: 81.09 kB / 0.6683 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.1716, allocations: 3.938 kB / 0.6683 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.003e-05/0.1716, allocations: 4 kB / 0.6683 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.1716, allocations: 0 / 0.6683 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1716, allocations: 4.031 kB / 0.6683 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.1717, allocations: 75.28 kB / 0.6684 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1717, allocations: 4 kB / 0.6684 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001943/0.1719, allocations: 8 kB / 0.6684 GB, free: 1.539 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.0001836/0.1721, allocations: 111.2 kB / 0.6685 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.1721, allocations: 4 kB / 0.6685 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1721, allocations: 0 / 0.6685 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.846e-06/0.1722, allocations: 8.062 kB / 0.6685 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.1723, allocations: 4 kB / 0.6685 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.1725, allocations: 84.77 kB / 0.6686 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1727, allocations: 0.6768 MB / 0.6692 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.483e-05/0.1727, allocations: 0 / 0.6692 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.1728, allocations: 7.438 kB / 0.6692 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1728, allocations: 0 / 0.6692 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.002353/0.1751, allocations: 452.5 kB / 0.6697 GB, free: 144 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)