Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.008505/0.008505, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001925/0.001925, allocations: 185.9 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4241/0.4241, allocations: 54.94 MB / 324.9 MB, free: 64 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.05 kB / 456.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1622, allocations: 59.59 MB / 0.5038 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001699/0.1639, allocations: 0.5549 MB / 0.5044 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006416/0.1646, allocations: 333 kB / 0.5047 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.1646, allocations: 0 / 0.5047 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1647, allocations: 0 / 0.5047 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.605e-05/0.1647, allocations: 1.375 kB / 0.5047 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.1652, allocations: 119.3 kB / 0.5048 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.182e-05/0.1653, allocations: 9.625 kB / 0.5048 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/0.1654, allocations: 6.047 kB / 0.5048 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.028e-05/0.1654, allocations: 1.5 kB / 0.5048 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1655, allocations: 6.5 kB / 0.5048 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1655, allocations: 0 / 0.5048 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004215/0.1659, allocations: 266.3 kB / 0.5051 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1659, allocations: 13.25 kB / 0.5051 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.166, allocations: 5.219 kB / 0.5051 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.1662, allocations: 85.23 kB / 0.5052 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1662, allocations: 4 kB / 0.5052 GB, free: 8.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1662, allocations: 0 / 0.5052 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.1662, allocations: 1.094 kB / 0.5052 GB, free: 8.684 MB / 382.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.0003797/0.1666, allocations: 350.2 kB / 0.5055 GB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1667, allocations: 8.938 kB / 0.5055 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.736e-05/0.1667, allocations: 3.094 kB / 0.5055 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.1668, allocations: 165.5 kB / 0.5057 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1669, allocations: 384 / 0.5057 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1669, allocations: 2.594 kB / 0.5057 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.167, allocations: 45.05 kB / 0.5057 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.167, allocations: 1.188 kB / 0.5057 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.167, allocations: 0 / 0.5057 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.167, allocations: 3.984 kB / 0.5057 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.485e-05/0.1671, allocations: 2.312 kB / 0.5057 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001601/0.1672, allocations: 153.1 kB / 0.5059 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.698e-05/0.1673, allocations: 24.56 kB / 0.5059 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1673, allocations: 14.3 kB / 0.5059 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.168, allocations: 455.1 kB / 0.5063 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.168, allocations: 43.72 kB / 0.5064 GB, free: 7.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.168, allocations: 0 / 0.5064 GB, free: 7.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005757/0.1686, allocations: 252.1 kB / 0.5066 GB, free: 7.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.1687, allocations: 55.39 kB / 0.5067 GB, free: 6.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.1687, allocations: 97.39 kB / 0.5068 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.1687, allocations: 25.7 kB / 0.5068 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.1688, allocations: 85.67 kB / 0.5069 GB, free: 6.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.1688, allocations: 13.03 kB / 0.5069 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.1688, allocations: 21.05 kB / 0.5069 GB, free: 6.684 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.1689, allocations: 312.4 kB / 0.5072 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.1689, allocations: 10.91 kB / 0.5072 GB, free: 6.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.169, allocations: 15.38 kB / 0.5072 GB, free: 6.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.169, allocations: 34.92 kB / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.169, allocations: 0 / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.127e-05/0.1691, allocations: 50.08 kB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1692, allocations: 5.656 kB / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1692, allocations: 0 / 0.5073 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1692, allocations: 4.891 kB / 0.5073 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.1693, allocations: 13.66 kB / 0.5073 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1693, allocations: 5.094 kB / 0.5073 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.1693, allocations: 0.9062 kB / 0.5073 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1693, allocations: 5.656 kB / 0.5073 GB, free: 6.258 MB / 382.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.253e-05/0.1694, allocations: 107.2 kB / 0.5074 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.1694, allocations: 5.594 kB / 0.5074 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.1696, allocations: 57.61 kB / 0.5075 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1696, allocations: 1.438 kB / 0.5075 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1696, allocations: 0 / 0.5075 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1696, allocations: 0 / 0.5075 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.05e-05/0.1697, allocations: 157.8 kB / 0.5077 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1697, allocations: 0 / 0.5077 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.1698, allocations: 13.56 kB / 0.5077 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1698, allocations: 0 / 0.5077 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.1698, allocations: 1.5 kB / 0.5077 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1699, allocations: 0 / 0.5077 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1699, allocations: 0 / 0.5077 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.17, allocations: 82.02 kB / 0.5077 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.1701, allocations: 86.09 kB / 0.5078 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.1701, allocations: 5 kB / 0.5078 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.1701, allocations: 1.375 kB / 0.5078 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.1701, allocations: 1.562 kB / 0.5078 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1702, allocations: 1.781 kB / 0.5078 GB, free: 5.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.69e-05/0.1702, allocations: 76.56 kB / 0.5079 GB, free: 5.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1702, allocations: 0 / 0.5079 GB, free: 5.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.1705, allocations: 26.23 kB / 0.5079 GB, free: 5.609 MB / 382.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.0002903/0.1707, allocations: 137 kB / 0.5081 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1709, allocations: 10.72 kB / 0.5081 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1709, allocations: 1.312 kB / 0.5081 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-05/0.1709, allocations: 12.83 kB / 0.5081 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.1711, allocations: 11.09 kB / 0.5081 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.1716, allocations: 113.4 kB / 0.5082 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1718, allocations: 0.6729 MB / 0.5089 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.939e-05/0.1719, allocations: 10.86 kB / 0.5089 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.1719, allocations: 12.84 kB / 0.5089 GB, free: 4.645 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1719, allocations: 0 / 0.5089 GB, free: 4.645 MB / 382.1 MB Notification: Performance of Templates: time 0.004176/0.1761, allocations: 0.8633 MB / 0.5097 GB, free: 4.207 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)