Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00119/0.00119, allocations: 196.2 kB / 16.14 MB, free: 6.66 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 / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7799/0.78, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.03 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1709, allocations: 80.2 MB / 0.5794 GB, free: 9.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001896/0.1728, allocations: 0.6387 MB / 0.5801 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007384/0.1736, allocations: 352.7 kB / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.568e-06/0.1736, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.1736, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.229e-06/0.1736, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.174, allocations: 78.78 kB / 0.5805 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.96e-05/0.174, allocations: 4 kB / 0.5805 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.1741, allocations: 4 kB / 0.5805 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.1741, allocations: 0 / 0.5805 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.1741, allocations: 0 / 0.5805 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1741, allocations: 0 / 0.5805 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004153/0.1746, allocations: 279.6 kB / 0.5808 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.1746, allocations: 3.984 kB / 0.5808 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.1746, allocations: 0 / 0.5808 GB, free: 7.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1748, allocations: 83.8 kB / 0.5808 GB, free: 7.809 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1748, allocations: 0 / 0.5808 GB, free: 7.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1748, allocations: 0 / 0.5808 GB, free: 7.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1748, allocations: 4 kB / 0.5808 GB, free: 7.805 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.0003556/0.1752, allocations: 335.6 kB / 0.5812 GB, free: 7.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1752, allocations: 8.031 kB / 0.5812 GB, free: 7.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1753, allocations: 4.938 kB / 0.5812 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1754, allocations: 164.4 kB / 0.5813 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.1754, allocations: 384 / 0.5813 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.1754, allocations: 384 / 0.5813 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.806e-05/0.1755, allocations: 26.27 kB / 0.5814 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1755, allocations: 4.188 kB / 0.5814 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1756, allocations: 7.938 kB / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1756, allocations: 0 / 0.5814 GB, free: 7.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.1756, allocations: 3.938 kB / 0.5814 GB, free: 7.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.1758, allocations: 153.7 kB / 0.5815 GB, free: 6.969 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.818e-05/0.1758, allocations: 18.61 kB / 0.5815 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.1758, allocations: 4.859 kB / 0.5815 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.1764, allocations: 433.5 kB / 0.582 GB, free: 6.418 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1764, allocations: 30.56 kB / 0.582 GB, free: 6.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1764, allocations: 0 / 0.582 GB, free: 6.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001698/0.1766, allocations: 45.58 kB / 0.582 GB, free: 6.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.1766, allocations: 51.41 kB / 0.5821 GB, free: 6.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.746e-05/0.1767, allocations: 93.98 kB / 0.5822 GB, free: 6.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1767, allocations: 29.69 kB / 0.5822 GB, free: 6.129 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.1767, allocations: 80.14 kB / 0.5823 GB, free: 6.047 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.1768, allocations: 3.906 kB / 0.5823 GB, free: 6.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.1768, allocations: 13.72 kB / 0.5823 GB, free: 6.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1769, allocations: 310.8 kB / 0.5826 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.1769, allocations: 0 / 0.5826 GB, free: 5.711 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.1769, allocations: 0 / 0.5826 GB, free: 5.711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.177, allocations: 16.92 kB / 0.5826 GB, free: 5.691 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.177, allocations: 3.938 kB / 0.5826 GB, free: 5.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.409e-05/0.177, allocations: 37.69 kB / 0.5826 GB, free: 5.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1771, allocations: 4 kB / 0.5826 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1771, allocations: 0 / 0.5826 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1771, allocations: 3.938 kB / 0.5826 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/0.1772, allocations: 0 / 0.5826 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.1772, allocations: 4 kB / 0.5826 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-06/0.1772, allocations: 0 / 0.5826 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.1772, allocations: 0 / 0.5826 GB, free: 5.633 MB / 494.1 MB 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 9.406e-05/0.1773, allocations: 110.5 kB / 0.5828 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.1773, allocations: 3.938 kB / 0.5828 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.437e-05/0.1774, allocations: 52.69 kB / 0.5828 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1774, allocations: 3.984 kB / 0.5828 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1774, allocations: 0 / 0.5828 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1774, allocations: 0 / 0.5828 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.549e-05/0.1775, allocations: 141.7 kB / 0.5829 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1776, allocations: 4.031 kB / 0.5829 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.1776, allocations: 7.984 kB / 0.583 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1776, allocations: 0 / 0.583 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1776, allocations: 3.938 kB / 0.583 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1776, allocations: 0 / 0.583 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1776, allocations: 3.938 kB / 0.583 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.212e-05/0.1777, allocations: 57.14 kB / 0.583 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.1777, allocations: 77.11 kB / 0.5831 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.1778, allocations: 11.95 kB / 0.5831 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-06/0.1778, allocations: 7.938 kB / 0.5831 GB, free: 5.051 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.1778, allocations: 4 kB / 0.5831 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.1778, allocations: 0 / 0.5831 GB, free: 5.047 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.1778, allocations: 75.28 kB / 0.5832 GB, free: 4.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1778, allocations: 0 / 0.5832 GB, free: 4.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.178, allocations: 8 kB / 0.5832 GB, free: 4.965 MB / 494.1 MB 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.0002219/0.1783, allocations: 107.2 kB / 0.5833 GB, free: 4.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.367e-05/0.1784, allocations: 15.98 kB / 0.5833 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1784, allocations: 0 / 0.5833 GB, free: 4.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.1784, allocations: 4 kB / 0.5833 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.1785, allocations: 0 / 0.5833 GB, free: 4.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001936/0.1787, allocations: 74.77 kB / 0.5834 GB, free: 4.734 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.179, allocations: 0.6731 MB / 0.584 GB, free: 4.035 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.179, allocations: 3.984 kB / 0.584 GB, free: 4.031 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.248e-05/0.179, allocations: 11.56 kB / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of SimCode: time 2.054e-06/0.1791, allocations: 0 / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of Templates: time 0.002788/0.1818, allocations: 444.5 kB / 0.5845 GB, free: 3.59 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)