Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007978/0.007978, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.0017/0.0017, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8533/0.8533, allocations: 132.2 MB / 422.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 68.89 kB / 0.5814 GB, free: 23.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1754, allocations: 80.21 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00204/0.1775, allocations: 0.6148 MB / 0.6603 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007832/0.1783, allocations: 353.6 kB / 0.6607 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.1784, allocations: 0 / 0.6607 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1784, allocations: 0 / 0.6607 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.1785, allocations: 3.938 kB / 0.6607 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005868/0.1791, allocations: 116.8 kB / 0.6608 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.737e-05/0.1792, allocations: 19.98 kB / 0.6608 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.1792, allocations: 8 kB / 0.6608 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.017e-05/0.1793, allocations: 11.92 kB / 0.6608 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.1794, allocations: 15.92 kB / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1794, allocations: 0 / 0.6608 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.1798, allocations: 279.6 kB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.1798, allocations: 0 / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1799, allocations: 15.92 kB / 0.6611 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1801, allocations: 103.7 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1801, allocations: 4 kB / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1801, allocations: 0 / 0.6612 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.1802, allocations: 0 / 0.6612 GB, free: 8.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004992/0.1807, allocations: 363.5 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1807, allocations: 8.031 kB / 0.6616 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.1808, allocations: 12.78 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1809, allocations: 160.4 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1809, allocations: 8.375 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.181, allocations: 8.375 kB / 0.6617 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.1811, allocations: 50.23 kB / 0.6618 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1811, allocations: 192 / 0.6618 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.1812, allocations: 7.938 kB / 0.6618 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1812, allocations: 0 / 0.6618 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.1812, allocations: 27.86 kB / 0.6618 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.1815, allocations: 165.6 kB / 0.662 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1816, allocations: 54.56 kB / 0.662 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.46e-05/0.1816, allocations: 32.84 kB / 0.6621 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.1824, allocations: 453.7 kB / 0.6625 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1824, allocations: 38.55 kB / 0.6625 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1824, allocations: 4 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001379/0.1838, allocations: 0.5863 MB / 0.6631 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1838, allocations: 55.39 kB / 0.6632 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.1839, allocations: 97.86 kB / 0.6633 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1839, allocations: 33.7 kB / 0.6633 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.184, allocations: 80.14 kB / 0.6634 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.184, allocations: 43.44 kB / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.1841, allocations: 25.7 kB / 0.6634 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1842, allocations: 314.8 kB / 0.6637 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.1843, allocations: 19.98 kB / 0.6638 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.019e-05/0.1843, allocations: 24 kB / 0.6638 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1844, allocations: 60.09 kB / 0.6638 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1844, allocations: 4 kB / 0.6638 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001601/0.1846, allocations: 105.5 kB / 0.6639 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1846, allocations: 8 kB / 0.6639 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1846, allocations: 0 / 0.6639 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1847, allocations: 0 / 0.6639 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1848, allocations: 19.98 kB / 0.664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.1848, allocations: 8.078 kB / 0.664 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.579e-05/0.1848, allocations: 7.938 kB / 0.664 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1848, allocations: 0 / 0.664 GB, free: 5.461 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 (13): * Single equations (assignments): 13 * 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.983e-05/0.1849, allocations: 118.7 kB / 0.6641 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.185, allocations: 7.938 kB / 0.6641 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1852, allocations: 113.4 kB / 0.6642 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1852, allocations: 4 kB / 0.6642 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1852, allocations: 0 / 0.6642 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1852, allocations: 0 / 0.6642 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.1856, allocations: 354.4 kB / 0.6646 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1856, allocations: 0 / 0.6646 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1858, allocations: 19.98 kB / 0.6646 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1858, allocations: 7.938 kB / 0.6646 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1858, allocations: 8 kB / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1858, allocations: 0 / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1858, allocations: 0 / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1861, allocations: 219.4 kB / 0.6648 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.1862, allocations: 85 kB / 0.6649 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1862, allocations: 8 kB / 0.6649 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1863, allocations: 0 / 0.6649 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.1863, allocations: 12.05 kB / 0.6649 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1863, allocations: 4 kB / 0.6649 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.1863, allocations: 79.28 kB / 0.665 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1864, allocations: 0 / 0.665 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002788/0.1866, allocations: 44 kB / 0.665 GB, free: 4.281 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002597/0.1869, allocations: 139.1 kB / 0.6652 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1871, allocations: 71.86 kB / 0.6652 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1871, allocations: 0 / 0.6652 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.1871, allocations: 35.05 kB / 0.6653 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1874, allocations: 8 kB / 0.6653 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.1878, allocations: 178.1 kB / 0.6654 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1881, allocations: 0.6846 MB / 0.6661 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.1881, allocations: 15.94 kB / 0.6661 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.1882, allocations: 23.42 kB / 0.6661 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1882, allocations: 0 / 0.6661 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of Templates: time 0.004193/0.1924, allocations: 1.393 MB / 0.6675 GB, free: 1.695 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)