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.0008055/0.0008055, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005443/0.005443, allocations: 170 kB / 16.26 MB, free: 6.613 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9815/0.9815, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 8.625 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 82.3 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007043/0.175, allocations: 315 kB / 0.5883 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.1757, allocations: 340.7 kB / 0.5886 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.168e-05/0.1757, allocations: 4 kB / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.1757, allocations: 0 / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1757, allocations: 0 / 0.5886 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.1762, allocations: 71.84 kB / 0.5887 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.193e-05/0.1762, allocations: 4 kB / 0.5887 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1763, allocations: 0 / 0.5887 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.1763, allocations: 0 / 0.5887 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.1763, allocations: 3.984 kB / 0.5887 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1763, allocations: 0 / 0.5887 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.1768, allocations: 283.6 kB / 0.589 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.1768, allocations: 0 / 0.589 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.1768, allocations: 25.7 kB / 0.589 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.177, allocations: 79.86 kB / 0.5891 GB, free: 1.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.177, allocations: 0 / 0.5891 GB, free: 1.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.177, allocations: 0 / 0.5891 GB, free: 1.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1771, allocations: 0 / 0.5891 GB, free: 1.512 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002972/0.1774, allocations: 335.6 kB / 0.5894 GB, free: 1.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1774, allocations: 8.031 kB / 0.5894 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.1775, allocations: 4.938 kB / 0.5894 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.1775, allocations: 168.3 kB / 0.5895 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1776, allocations: 384 / 0.5895 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1776, allocations: 4.375 kB / 0.5895 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.1777, allocations: 30.2 kB / 0.5896 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1777, allocations: 192 / 0.5896 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1777, allocations: 3.938 kB / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1777, allocations: 0 / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1777, allocations: 7.984 kB / 0.5896 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.1779, allocations: 157.7 kB / 0.5897 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.559e-05/0.1779, allocations: 18.61 kB / 0.5898 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.1779, allocations: 4.859 kB / 0.5898 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/0.1784, allocations: 429.5 kB / 0.5902 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1784, allocations: 38.5 kB / 0.5902 GB, free: 72 kB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1784, allocations: 0 / 0.5902 GB, free: 72 kB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.1786, allocations: 33.64 kB / 0.5902 GB, free: 32 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1786, allocations: 55.41 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.1787, allocations: 89.86 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1787, allocations: 29.7 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.1788, allocations: 80.14 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.1788, allocations: 3.906 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.1788, allocations: 13.83 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.179, allocations: 314.8 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.179, allocations: 0 / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.179, allocations: 4 kB / 0.5908 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.179, allocations: 8.797 kB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.179, allocations: 0 / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.286e-05/0.1791, allocations: 37.7 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1791, allocations: 4 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.1791, allocations: 4.094 kB / 0.5909 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1792, allocations: 3.938 kB / 0.5909 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.865e-05/0.1792, allocations: 7.984 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1792, allocations: 3.984 kB / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-06/0.1792, allocations: 0 / 0.5909 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1792, allocations: 0 / 0.5909 GB, free: 15.33 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.153e-05/0.1793, allocations: 109.8 kB / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.1793, allocations: 0 / 0.591 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.576e-05/0.1794, allocations: 52.69 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1794, allocations: 0 / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1795, allocations: 0 / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1795, allocations: 0 / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.7e-05/0.1795, allocations: 145.7 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1796, allocations: 0 / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.1796, allocations: 3.938 kB / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1796, allocations: 0 / 0.5912 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1796, allocations: 3.938 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1796, allocations: 4 kB / 0.5912 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1796, allocations: 7.922 kB / 0.5912 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.987e-05/0.1797, allocations: 61.11 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.1797, allocations: 77.11 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.1798, allocations: 7.938 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.412e-06/0.1798, allocations: 0 / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.1798, allocations: 3.984 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.1798, allocations: 0 / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.768e-05/0.1798, allocations: 79.31 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1798, allocations: 0 / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001845/0.18, allocations: 8 kB / 0.5914 GB, free: 14.67 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.000186/0.1802, allocations: 111.2 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.227e-05/0.1803, allocations: 4 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1803, allocations: 0 / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.1803, allocations: 3.938 kB / 0.5915 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1804, allocations: 14.48 kB / 0.5915 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001584/0.1806, allocations: 74.89 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.1808, allocations: 0.6692 MB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.937e-05/0.1809, allocations: 8 kB / 0.5923 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.153e-05/0.1809, allocations: 7.438 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1809, allocations: 0 / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of Templates: time 0.002449/0.1833, allocations: 440.2 kB / 0.5927 GB, free: 13.3 MB / 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)