Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00718/0.00718, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001403/0.001403, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8125/0.8125, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 68.11 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1723, allocations: 80.2 MB / 0.6597 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00167/0.1741, allocations: 0.5826 MB / 0.6603 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006863/0.1748, allocations: 353.2 kB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.1748, allocations: 4 kB / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.1748, allocations: 0 / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.1749, allocations: 0 / 0.6606 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.1753, allocations: 115.6 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.052e-05/0.1754, allocations: 12 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1754, allocations: 3.984 kB / 0.6608 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.1755, allocations: 4 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1755, allocations: 0 / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.1755, allocations: 4 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003623/0.1759, allocations: 283.6 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.1759, allocations: 0 / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.176, allocations: 11.98 kB / 0.6611 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1761, allocations: 87.8 kB / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1762, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1762, allocations: 0 / 0.6611 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1762, allocations: 0 / 0.6611 GB, free: 12.02 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003668/0.1765, allocations: 335.6 kB / 0.6615 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1766, allocations: 12.02 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.1767, allocations: 8.938 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1768, allocations: 168.3 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1768, allocations: 384 / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1768, allocations: 384 / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.629e-05/0.1769, allocations: 42.19 kB / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.1769, allocations: 192 / 0.6617 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.177, allocations: 3.938 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.177, allocations: 0 / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.881e-05/0.177, allocations: 0 / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.1772, allocations: 161.7 kB / 0.6618 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.592e-05/0.1772, allocations: 22.61 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.856e-05/0.1773, allocations: 8.922 kB / 0.6619 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007018/0.178, allocations: 453.5 kB / 0.6623 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.178, allocations: 42.48 kB / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.178, allocations: 0 / 0.6623 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005263/0.1785, allocations: 254.2 kB / 0.6626 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.1786, allocations: 55.62 kB / 0.6626 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.1787, allocations: 93.86 kB / 0.6627 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1787, allocations: 29.7 kB / 0.6628 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.1787, allocations: 84.08 kB / 0.6628 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1788, allocations: 15.8 kB / 0.6628 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.1788, allocations: 21.7 kB / 0.6629 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1789, allocations: 310.8 kB / 0.6632 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.1789, allocations: 7.938 kB / 0.6632 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-05/0.179, allocations: 25.83 kB / 0.6632 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.515e-05/0.179, allocations: 25.66 kB / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.179, allocations: 0 / 0.6632 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.337e-05/0.1791, allocations: 45.7 kB / 0.6633 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1791, allocations: 15.92 kB / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1792, allocations: 0 / 0.6633 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1792, allocations: 4.062 kB / 0.6633 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.1792, allocations: 11.94 kB / 0.6633 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1793, allocations: 0 / 0.6633 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.1793, allocations: 0 / 0.6633 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1793, allocations: 0 / 0.6633 GB, free: 9.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.863e-05/0.1794, allocations: 114.5 kB / 0.6634 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.1794, allocations: 3.938 kB / 0.6634 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.1795, allocations: 57.17 kB / 0.6635 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1795, allocations: 4 kB / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1795, allocations: 192 / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1795, allocations: 0 / 0.6635 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.1797, allocations: 157.7 kB / 0.6636 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1797, allocations: 0 / 0.6636 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.1797, allocations: 7.938 kB / 0.6636 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1797, allocations: 3.938 kB / 0.6636 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1797, allocations: 0 / 0.6636 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1798, allocations: 0 / 0.6636 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1798, allocations: 4 kB / 0.6636 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.1799, allocations: 81.11 kB / 0.6637 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.1799, allocations: 81.02 kB / 0.6638 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.18, allocations: 3.938 kB / 0.6638 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.18, allocations: 8.031 kB / 0.6638 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.18, allocations: 4 kB / 0.6638 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.18, allocations: 0 / 0.6638 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.1801, allocations: 83.33 kB / 0.6639 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1801, allocations: 4.094 kB / 0.6639 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002089/0.1803, allocations: 20 kB / 0.6639 GB, free: 8.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0002122/0.1805, allocations: 131.1 kB / 0.664 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.1806, allocations: 16 kB / 0.664 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1806, allocations: 0 / 0.664 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-05/0.1807, allocations: 7.984 kB / 0.6641 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.1808, allocations: 11.94 kB / 0.6641 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.1811, allocations: 117.8 kB / 0.6642 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.1813, allocations: 0.6729 MB / 0.6648 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.1813, allocations: 7.984 kB / 0.6648 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.1814, allocations: 7.438 kB / 0.6648 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1814, allocations: 0 / 0.6648 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of Templates: time 0.003167/0.1845, allocations: 0.8628 MB / 0.6657 GB, free: 6.812 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)