Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006156/0.006156, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001219/0.001219, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8531/0.8531, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 69.33 kB / 0.5857 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1678, allocations: 80.92 MB / 0.6647 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002058/0.17, allocations: 0.5827 MB / 0.6653 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.1708, allocations: 353.6 kB / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.1709, allocations: 0 / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.935e-05/0.1709, allocations: 0 / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.215e-05/0.171, allocations: 3.938 kB / 0.6656 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.1716, allocations: 107.7 kB / 0.6657 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.786e-05/0.1716, allocations: 7.984 kB / 0.6657 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.973e-05/0.1717, allocations: 4 kB / 0.6657 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.118e-05/0.1717, allocations: 7.984 kB / 0.6657 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.1718, allocations: 8 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1718, allocations: 0 / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004134/0.1722, allocations: 283.6 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1723, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.1723, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1725, allocations: 91.78 kB / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1725, allocations: 0 / 0.6661 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1725, allocations: 7.938 kB / 0.6661 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.1725, allocations: 0 / 0.6661 GB, free: 4.289 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.0005116/0.1731, allocations: 347.5 kB / 0.6664 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1731, allocations: 13.11 kB / 0.6664 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.065e-05/0.1732, allocations: 0.9375 kB / 0.6664 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.1733, allocations: 164.3 kB / 0.6666 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.1733, allocations: 4.375 kB / 0.6666 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1734, allocations: 384 / 0.6666 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1735, allocations: 38.25 kB / 0.6666 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.1735, allocations: 192 / 0.6666 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1735, allocations: 3.938 kB / 0.6666 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1735, allocations: 4 kB / 0.6666 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.348e-05/0.1736, allocations: 4 kB / 0.6666 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.1738, allocations: 153.7 kB / 0.6668 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.1739, allocations: 22.55 kB / 0.6668 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.1739, allocations: 4.922 kB / 0.6668 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/0.1746, allocations: 465.5 kB / 0.6673 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1747, allocations: 30.56 kB / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1747, allocations: 0 / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005889/0.1753, allocations: 258.5 kB / 0.6675 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.1753, allocations: 51.41 kB / 0.6676 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.1754, allocations: 93.86 kB / 0.6677 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1754, allocations: 29.7 kB / 0.6677 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.1755, allocations: 80.14 kB / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1755, allocations: 15.83 kB / 0.6678 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.1755, allocations: 13.72 kB / 0.6678 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1757, allocations: 319 kB / 0.6681 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.1757, allocations: 11.88 kB / 0.6681 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.1757, allocations: 17.7 kB / 0.6681 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.686e-05/0.1758, allocations: 25.72 kB / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1758, allocations: 0 / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001072/0.1759, allocations: 61.53 kB / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1759, allocations: 13.72 kB / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1759, allocations: 144 / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.176, allocations: 4 kB / 0.6682 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.086e-05/0.176, allocations: 7.984 kB / 0.6682 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.176, allocations: 0 / 0.6682 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.1761, allocations: 4 kB / 0.6682 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1761, allocations: 0 / 0.6682 GB, free: 1.703 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 7.502e-05/0.1762, allocations: 107.2 kB / 0.6684 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.1762, allocations: 11.92 kB / 0.6684 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.1763, allocations: 61.12 kB / 0.6684 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1764, allocations: 0 / 0.6684 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1764, allocations: 4 kB / 0.6684 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1764, allocations: 0 / 0.6684 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.1765, allocations: 153.7 kB / 0.6686 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1765, allocations: 0 / 0.6686 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.1766, allocations: 4 kB / 0.6686 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1766, allocations: 7.938 kB / 0.6686 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1766, allocations: 0 / 0.6686 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1766, allocations: 7.984 kB / 0.6686 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1766, allocations: 0 / 0.6686 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.1768, allocations: 77.06 kB / 0.6687 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.1768, allocations: 81.14 kB / 0.6687 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1768, allocations: 3.938 kB / 0.6687 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.1769, allocations: 0 / 0.6687 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.1769, allocations: 3.984 kB / 0.6687 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.1769, allocations: 4.062 kB / 0.6688 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.1769, allocations: 79.28 kB / 0.6688 GB, free: 1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1769, allocations: 0 / 0.6688 GB, free: 1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002202/0.1772, allocations: 28 kB / 0.6689 GB, free: 0.9727 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.00025/0.1774, allocations: 131.2 kB / 0.669 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1775, allocations: 19.92 kB / 0.669 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1775, allocations: 4 kB / 0.669 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.636e-05/0.1776, allocations: 4.219 kB / 0.669 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.1777, allocations: 11.94 kB / 0.669 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.1781, allocations: 109.6 kB / 0.6691 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1784, allocations: 0.6807 MB / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.1784, allocations: 0 / 0.6698 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.1784, allocations: 11.44 kB / 0.6698 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1785, allocations: 0 / 0.6698 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of Templates: time 0.00356/0.182, allocations: 0.8742 MB / 0.6707 GB, free: 15.07 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)