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.001531/0.001537, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 196.6 kB / 16.79 MB, free: 6.809 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.345/1.345, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8998/0.8998, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.5 kB / 0.5053 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1621, allocations: 80.92 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002618/0.1648, allocations: 1.5 MB / 0.5858 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007447/0.1655, allocations: 415.5 kB / 0.5862 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.1656, allocations: 0 / 0.5862 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.1656, allocations: 0 / 0.5862 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.1657, allocations: 3.938 kB / 0.5862 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1659, allocations: 79.84 kB / 0.5863 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.495e-05/0.166, allocations: 23.92 kB / 0.5863 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.2e-05/0.1661, allocations: 4 kB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.1661, allocations: 15.92 kB / 0.5863 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.808e-05/0.1661, allocations: 8 kB / 0.5863 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.1661, allocations: 0 / 0.5863 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.1665, allocations: 275.6 kB / 0.5866 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.1665, allocations: 15.92 kB / 0.5866 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.1665, allocations: 3.938 kB / 0.5866 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.1666, allocations: 71.88 kB / 0.5867 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1667, allocations: 0 / 0.5867 GB, free: 2.598 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1667, allocations: 0 / 0.5867 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1667, allocations: 0 / 0.5867 GB, free: 2.598 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.0004206/0.1671, allocations: 363.7 kB / 0.587 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.919e-05/0.1671, allocations: 12.03 kB / 0.587 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.1672, allocations: 0.9375 kB / 0.587 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1673, allocations: 172.2 kB / 0.5872 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1673, allocations: 4.375 kB / 0.5872 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.1673, allocations: 384 / 0.5872 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1675, allocations: 50.23 kB / 0.5873 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1675, allocations: 192 / 0.5873 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.1675, allocations: 3.938 kB / 0.5873 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-06/0.1675, allocations: 0 / 0.5873 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1677, allocations: 39.95 kB / 0.5873 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.168, allocations: 245 kB / 0.5875 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1681, allocations: 50.42 kB / 0.5876 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.1682, allocations: 16.91 kB / 0.5876 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.1689, allocations: 461.5 kB / 0.588 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1689, allocations: 34.55 kB / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1689, allocations: 3.938 kB / 0.5881 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003537/0.1693, allocations: 81.66 kB / 0.5881 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1693, allocations: 59.33 kB / 0.5882 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.551e-05/0.1694, allocations: 105.9 kB / 0.5883 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1694, allocations: 25.7 kB / 0.5883 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.1695, allocations: 95.98 kB / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.1695, allocations: 7.922 kB / 0.5884 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.1695, allocations: 13.84 kB / 0.5884 GB, free: 500 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.1696, allocations: 318.8 kB / 0.5887 GB, free: 172 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.1697, allocations: 11.98 kB / 0.5888 GB, free: 160 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.1698, allocations: 23.97 kB / 0.5888 GB, free: 136 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1699, allocations: 32.83 kB / 0.5888 GB, free: 100 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1699, allocations: 4.062 kB / 0.5888 GB, free: 96 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.1702, allocations: 77.44 kB / 0.5889 GB, free: 12 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.1702, allocations: 9.875 kB / 0.5889 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1702, allocations: 0 / 0.5889 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.1702, allocations: 0 / 0.5889 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.635e-05/0.1703, allocations: 12.3 kB / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1703, allocations: 0 / 0.5889 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.1704, allocations: 12.03 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1704, allocations: 0 / 0.5889 GB, free: 15.98 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.187e-05/0.1705, allocations: 113.7 kB / 0.589 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1705, allocations: 7.984 kB / 0.589 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.1707, allocations: 69.19 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1707, allocations: 4 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1707, allocations: 0 / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1708, allocations: 4.031 kB / 0.5891 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.1709, allocations: 165.6 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1709, allocations: 3.984 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.171, allocations: 11.94 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.171, allocations: 0 / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.171, allocations: 0 / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.171, allocations: 0 / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.171, allocations: 3.984 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1713, allocations: 171.4 kB / 0.5895 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1713, allocations: 81.09 kB / 0.5895 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1713, allocations: 3.938 kB / 0.5895 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1714, allocations: 4 kB / 0.5895 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1714, allocations: 3.984 kB / 0.5895 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1714, allocations: 0 / 0.5895 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.1715, allocations: 87.28 kB / 0.5896 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 4.031 kB / 0.5896 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.1717, allocations: 12 kB / 0.5896 GB, free: 15.14 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.0001563/0.1719, allocations: 111.2 kB / 0.5897 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.1721, allocations: 35.97 kB / 0.5898 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1721, allocations: 0 / 0.5898 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.1722, allocations: 24.03 kB / 0.5898 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1725, allocations: 11.88 kB / 0.5898 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.1728, allocations: 141 kB / 0.5899 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.173, allocations: 0.677 MB / 0.5906 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/0.173, allocations: 11.44 kB / 0.5906 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.173, allocations: 0 / 0.5906 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.001824/0.1749, allocations: 0.6972 MB / 0.5913 GB, free: 13.38 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)