Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001526/0.001526, allocations: 192.6 kB / 16.25 MB, free: 6.621 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.367/1.367, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9297/0.9297, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 65.03 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 81.02 MB / 0.5845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002678/0.1655, allocations: 1.5 MB / 0.586 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007216/0.1662, allocations: 379.6 kB / 0.5863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.1663, allocations: 4 kB / 0.5863 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1663, allocations: 3.938 kB / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.105e-05/0.1664, allocations: 0 / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1668, allocations: 107.6 kB / 0.5864 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.1669, allocations: 19.94 kB / 0.5865 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.879e-05/0.167, allocations: 11.98 kB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.167, allocations: 11.98 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.942e-05/0.167, allocations: 15.92 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1671, allocations: 4 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003734/0.1674, allocations: 267.7 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.1675, allocations: 7.938 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.1675, allocations: 15.92 kB / 0.5868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1677, allocations: 99.83 kB / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1677, allocations: 0 / 0.5869 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1677, allocations: 4 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1677, allocations: 7.938 kB / 0.5869 GB, free: 1.863 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000483/0.1682, allocations: 363.7 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1683, allocations: 8.031 kB / 0.5872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.1683, allocations: 4.844 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1685, allocations: 164.4 kB / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1685, allocations: 384 / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.1685, allocations: 384 / 0.5874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.1687, allocations: 54.23 kB / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1687, allocations: 192 / 0.5874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1687, allocations: 7.938 kB / 0.5875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1687, allocations: 4 kB / 0.5875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1689, allocations: 35.89 kB / 0.5875 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1692, allocations: 249 kB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1693, allocations: 46.48 kB / 0.5878 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.1694, allocations: 24.91 kB / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006865/0.1701, allocations: 461.4 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1702, allocations: 34.5 kB / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1702, allocations: 0 / 0.5883 GB, free: 184 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.1705, allocations: 89.55 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1706, allocations: 51.53 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.1707, allocations: 105.9 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1707, allocations: 29.69 kB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1708, allocations: 84.14 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1708, allocations: 7.844 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1708, allocations: 17.72 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.171, allocations: 310.8 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.1711, allocations: 19.97 kB / 0.589 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.1712, allocations: 19.98 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1713, allocations: 40.77 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1713, allocations: 0 / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002101/0.1715, allocations: 73.59 kB / 0.5891 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1716, allocations: 8.031 kB / 0.5891 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1716, allocations: 4 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1716, allocations: 0 / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.1717, allocations: 11.98 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1717, allocations: 0 / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1717, allocations: 4 kB / 0.5891 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1717, allocations: 3.984 kB / 0.5891 GB, free: 15.25 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 (2): * Single equations (assignments): 2 * 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.82e-05/0.1718, allocations: 113.8 kB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.1719, allocations: 256 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.1721, allocations: 85.12 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1721, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1721, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.1721, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.1723, allocations: 165.6 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1723, allocations: 0 / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.1724, allocations: 7.984 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1724, allocations: 0 / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1724, allocations: 8.031 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1724, allocations: 4 kB / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1724, allocations: 0 / 0.5895 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1727, allocations: 167.3 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/0.1727, allocations: 77.11 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1727, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1728, allocations: 16.02 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.1728, allocations: 4 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.1729, allocations: 0 / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.34e-05/0.1729, allocations: 83.22 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1729, allocations: 0 / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002188/0.1731, allocations: 23.98 kB / 0.5898 GB, free: 14.41 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 (2): * Single equations (assignments): 2 * 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.0001627/0.1733, allocations: 103.2 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.1735, allocations: 43.95 kB / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1735, allocations: 0 / 0.59 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.1736, allocations: 23.92 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.1739, allocations: 3.938 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.1742, allocations: 121.6 kB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.1745, allocations: 0.6883 MB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.1745, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.1745, allocations: 7.438 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1745, allocations: 0 / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.002764/0.1773, allocations: 0.655 MB / 0.5914 GB, free: 12.71 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)