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.001361/0.001361, allocations: 104.1 kB / 16.41 MB, free: 6.516 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.001285/0.001285, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8445/0.8445, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 69.8 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1706, allocations: 80.93 MB / 0.6654 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002629/0.1732, allocations: 1.437 MB / 0.6668 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007282/0.1739, allocations: 379.6 kB / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1739, allocations: 0 / 0.6671 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.174, allocations: 11.86 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.174, allocations: 7.922 kB / 0.6671 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.1744, allocations: 111.7 kB / 0.6673 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.1745, allocations: 23.94 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.1746, allocations: 3.984 kB / 0.6673 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.1747, allocations: 11.94 kB / 0.6673 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/0.1747, allocations: 19.92 kB / 0.6673 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1747, allocations: 4 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.1751, allocations: 271.7 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.1751, allocations: 7.984 kB / 0.6676 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.1751, allocations: 7.938 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1753, allocations: 111.6 kB / 0.6677 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1753, allocations: 4 kB / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1754, allocations: 0 / 0.6677 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1754, allocations: 0 / 0.6677 GB, free: 3.336 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005341/0.1759, allocations: 367.1 kB / 0.6681 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1759, allocations: 9.109 kB / 0.6681 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.176, allocations: 0.9375 kB / 0.6681 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1761, allocations: 172.3 kB / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1761, allocations: 384 / 0.6682 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1762, allocations: 4.375 kB / 0.6682 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.1763, allocations: 54.16 kB / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1764, allocations: 192 / 0.6683 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.1764, allocations: 11.94 kB / 0.6683 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1764, allocations: 4 kB / 0.6683 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.1765, allocations: 27.97 kB / 0.6683 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.1769, allocations: 249 kB / 0.6686 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1771, allocations: 42.44 kB / 0.6686 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.59e-05/0.1772, allocations: 28.89 kB / 0.6686 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/0.1779, allocations: 453.5 kB / 0.6691 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1779, allocations: 42.5 kB / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1779, allocations: 0 / 0.6691 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003947/0.1783, allocations: 81.64 kB / 0.6692 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1783, allocations: 51.41 kB / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.049e-05/0.1784, allocations: 105.8 kB / 0.6693 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1784, allocations: 29.64 kB / 0.6694 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/0.1785, allocations: 96.22 kB / 0.6694 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1785, allocations: 3.953 kB / 0.6695 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.1785, allocations: 17.72 kB / 0.6695 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1787, allocations: 314.8 kB / 0.6698 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.98e-05/0.1788, allocations: 15.98 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1789, allocations: 15.98 kB / 0.6698 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.179, allocations: 48.81 kB / 0.6698 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.179, allocations: 0 / 0.6698 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.1792, allocations: 69.61 kB / 0.6699 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1792, allocations: 4 kB / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.1792, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1793, allocations: 0 / 0.6699 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.1793, allocations: 19.95 kB / 0.6699 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1794, allocations: 0 / 0.6699 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.1794, allocations: 7.984 kB / 0.6699 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.1794, allocations: 0 / 0.6699 GB, free: 0.7188 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 8.996e-05/0.1795, allocations: 109.8 kB / 0.67 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.1795, allocations: 4 kB / 0.6701 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.1798, allocations: 77.44 kB / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1798, allocations: 0 / 0.6701 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1798, allocations: 4 kB / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1798, allocations: 0 / 0.6701 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.18, allocations: 169.5 kB / 0.6703 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.18, allocations: 0 / 0.6703 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.18, allocations: 11.98 kB / 0.6703 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.18, allocations: 0 / 0.6703 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.18, allocations: 7.938 kB / 0.6703 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.18, allocations: 0 / 0.6703 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.18, allocations: 0 / 0.6703 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.1803, allocations: 171.4 kB / 0.6705 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.1804, allocations: 81.05 kB / 0.6706 GB, free: 16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1804, allocations: 0 / 0.6706 GB, free: 16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.1805, allocations: 11.98 kB / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1805, allocations: 0 / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1805, allocations: 8.031 kB / 0.6706 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.1805, allocations: 83.27 kB / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1805, allocations: 0 / 0.6707 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002307/0.1808, allocations: 16 kB / 0.6707 GB, free: 15.88 MB / 0.5137 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.0001729/0.1809, allocations: 107.2 kB / 0.6708 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1812, allocations: 39.89 kB / 0.6708 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.1812, allocations: 4.062 kB / 0.6708 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.844e-05/0.1813, allocations: 19.98 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1815, allocations: 7.938 kB / 0.6708 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003157/0.1818, allocations: 139 kB / 0.671 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1822, allocations: 0.6768 MB / 0.6716 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.1822, allocations: 7.438 kB / 0.6716 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1822, allocations: 7.938 kB / 0.6716 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.002269/0.1845, allocations: 0.705 MB / 0.6723 GB, free: 14.1 MB / 0.5137 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)