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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001119/0.001119, allocations: 189.9 kB / 16.14 MB, free: 6.711 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.979/0.979, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 72.36 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1546, allocations: 80.92 MB / 0.5837 GB, free: 5.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001668/0.1563, allocations: 0.6426 MB / 0.5843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.157, allocations: 372.5 kB / 0.5847 GB, free: 3.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.157, allocations: 3.938 kB / 0.5847 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.1571, allocations: 3.938 kB / 0.5847 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.802e-05/0.1571, allocations: 0 / 0.5847 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.1574, allocations: 74.91 kB / 0.5848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.1575, allocations: 15.98 kB / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1575, allocations: 0 / 0.5848 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.798e-05/0.1575, allocations: 11.98 kB / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.1576, allocations: 0 / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1576, allocations: 0 / 0.5848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003395/0.1579, allocations: 271.7 kB / 0.5851 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.158, allocations: 3.938 kB / 0.5851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.158, allocations: 11.98 kB / 0.5851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1582, allocations: 91.78 kB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1582, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1582, allocations: 0 / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.1582, allocations: 0 / 0.5852 GB, free: 3.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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003375/0.1585, allocations: 343.6 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1586, allocations: 11.97 kB / 0.5855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.1586, allocations: 8.844 kB / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.1587, allocations: 164.4 kB / 0.5857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1587, allocations: 384 / 0.5857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.1588, allocations: 384 / 0.5857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.1589, allocations: 30.27 kB / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.1589, allocations: 192 / 0.5857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.1589, allocations: 7.938 kB / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1589, allocations: 0 / 0.5857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.299e-05/0.1589, allocations: 15.97 kB / 0.5857 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.1591, allocations: 149.6 kB / 0.5859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.1591, allocations: 30.53 kB / 0.5859 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.1591, allocations: 8.922 kB / 0.5859 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006965/0.1598, allocations: 453.5 kB / 0.5863 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1599, allocations: 34.56 kB / 0.5864 GB, free: 2.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1599, allocations: 0 / 0.5864 GB, free: 2.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.1604, allocations: 262.7 kB / 0.5866 GB, free: 1.715 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.1604, allocations: 51.41 kB / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.1605, allocations: 101.8 kB / 0.5868 GB, free: 1.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1605, allocations: 25.7 kB / 0.5868 GB, free: 1.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.83e-05/0.1606, allocations: 80.14 kB / 0.5869 GB, free: 1.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1606, allocations: 3.906 kB / 0.5869 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.1606, allocations: 17.72 kB / 0.5869 GB, free: 1.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1607, allocations: 323 kB / 0.5872 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.1608, allocations: 4 kB / 0.5872 GB, free: 1.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.1608, allocations: 21.66 kB / 0.5872 GB, free: 1.047 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.1608, allocations: 25.66 kB / 0.5872 GB, free: 1.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1608, allocations: 0 / 0.5872 GB, free: 1.016 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.35e-05/0.1609, allocations: 53.62 kB / 0.5873 GB, free: 0.957 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.161, allocations: 17.88 kB / 0.5873 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.161, allocations: 0 / 0.5873 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.161, allocations: 0 / 0.5873 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.161, allocations: 7.984 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1611, allocations: 4 kB / 0.5873 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.1611, allocations: 4 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1611, allocations: 0 / 0.5873 GB, free: 0.9258 MB / 494.1 MB 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.106e-05/0.1612, allocations: 109.8 kB / 0.5874 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.1612, allocations: 3.938 kB / 0.5874 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1613, allocations: 65.03 kB / 0.5875 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1613, allocations: 0 / 0.5875 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1614, allocations: 3.984 kB / 0.5875 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1614, allocations: 4 kB / 0.5875 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.1615, allocations: 149.7 kB / 0.5877 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1615, allocations: 4 kB / 0.5877 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.1615, allocations: 8 kB / 0.5877 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1615, allocations: 3.938 kB / 0.5877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1616, allocations: 0 / 0.5877 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1616, allocations: 4 kB / 0.5877 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1616, allocations: 0 / 0.5877 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.1617, allocations: 81.06 kB / 0.5877 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.1618, allocations: 81.09 kB / 0.5878 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.1618, allocations: 3.938 kB / 0.5878 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.1618, allocations: 7.938 kB / 0.5878 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.1618, allocations: 4.031 kB / 0.5878 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1619, allocations: 4.297 kB / 0.5878 GB, free: 300 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.769e-05/0.1619, allocations: 75.28 kB / 0.5879 GB, free: 224 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1619, allocations: 4 kB / 0.5879 GB, free: 220 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1621, allocations: 23.98 kB / 0.5879 GB, free: 196 kB / 494.1 MB 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.0001945/0.1623, allocations: 123.2 kB / 0.5881 GB, free: 60 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.1624, allocations: 15.98 kB / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1624, allocations: 3.938 kB / 0.5881 GB, free: 40 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.1624, allocations: 16.14 kB / 0.5881 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.1626, allocations: 9.125 kB / 0.5881 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.1628, allocations: 111.6 kB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1631, allocations: 0.6731 MB / 0.5889 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.071e-05/0.1631, allocations: 7.984 kB / 0.5889 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.1631, allocations: 7.438 kB / 0.5889 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1631, allocations: 4 kB / 0.5889 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.002711/0.1658, allocations: 0.847 MB / 0.5897 GB, free: 14.33 MB / 0.4981 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)