Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007382/0.007382, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001386/0.001386, allocations: 193.3 kB / 16.67 MB, free: 5.977 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.492/1.492, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.393/0.393, allocations: 54.94 MB / 324.8 MB, free: 15.97 MB / 270.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.001926/0.001926, allocations: 65.31 kB / 456.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1599, allocations: 59.59 MB / 0.5037 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002479/0.1624, allocations: 0.5779 MB / 0.5043 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007557/0.1632, allocations: 337.3 kB / 0.5046 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.1633, allocations: 1.281 kB / 0.5046 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.1633, allocations: 3.938 kB / 0.5046 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.1634, allocations: 0 / 0.5046 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.164, allocations: 121.7 kB / 0.5047 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.1641, allocations: 27.3 kB / 0.5048 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.1641, allocations: 1.188 kB / 0.5048 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.365e-05/0.1642, allocations: 9.578 kB / 0.5048 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.151e-05/0.1643, allocations: 20.16 kB / 0.5048 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1643, allocations: 1.406 kB / 0.5048 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004754/0.1648, allocations: 275.1 kB / 0.5051 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.1648, allocations: 5.781 kB / 0.5051 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1648, allocations: 19.89 kB / 0.5051 GB, free: 8.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1651, allocations: 102.3 kB / 0.5052 GB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1651, allocations: 0 / 0.5052 GB, free: 8.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1651, allocations: 1.469 kB / 0.5052 GB, free: 8.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1651, allocations: 0 / 0.5052 GB, free: 8.562 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005593/0.1657, allocations: 357.5 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/0.1658, allocations: 8.844 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1659, allocations: 3.938 kB / 0.5055 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.166, allocations: 170 kB / 0.5057 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.166, allocations: 5.812 kB / 0.5057 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1661, allocations: 7.281 kB / 0.5057 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1663, allocations: 56.86 kB / 0.5058 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1663, allocations: 0 / 0.5058 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1663, allocations: 1.219 kB / 0.5058 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1663, allocations: 1.75 kB / 0.5058 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-05/0.1664, allocations: 17.45 kB / 0.5058 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002261/0.1666, allocations: 170 kB / 0.506 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.1668, allocations: 68.33 kB / 0.506 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.278e-05/0.1668, allocations: 29.91 kB / 0.506 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007215/0.1676, allocations: 459.2 kB / 0.5065 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1676, allocations: 39.8 kB / 0.5065 GB, free: 7.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1676, allocations: 0 / 0.5065 GB, free: 7.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001419/0.1691, allocations: 0.5841 MB / 0.5071 GB, free: 6.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1691, allocations: 56.78 kB / 0.5071 GB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.411e-05/0.1692, allocations: 97.98 kB / 0.5072 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.1692, allocations: 25.7 kB / 0.5073 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.489e-05/0.1692, allocations: 85.45 kB / 0.5073 GB, free: 6.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.1693, allocations: 39.58 kB / 0.5074 GB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.1693, allocations: 31.33 kB / 0.5074 GB, free: 6.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.708e-05/0.1694, allocations: 312.2 kB / 0.5077 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.1694, allocations: 22.98 kB / 0.5077 GB, free: 5.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.1695, allocations: 28.44 kB / 0.5078 GB, free: 5.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.1696, allocations: 65.59 kB / 0.5078 GB, free: 5.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1696, allocations: 0 / 0.5078 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001622/0.1697, allocations: 98.84 kB / 0.5079 GB, free: 5.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1698, allocations: 5.5 kB / 0.5079 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.391e-06/0.1698, allocations: 0 / 0.5079 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1698, allocations: 1.375 kB / 0.5079 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1699, allocations: 25.86 kB / 0.5079 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1699, allocations: 0 / 0.5079 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.17, allocations: 1.375 kB / 0.5079 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.17, allocations: 10.69 kB / 0.508 GB, free: 5.754 MB / 382.1 MB 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 7.387e-05/0.1701, allocations: 116.5 kB / 0.5081 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.1701, allocations: 10.64 kB / 0.5081 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.1703, allocations: 100.1 kB / 0.5082 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1704, allocations: 5.312 kB / 0.5082 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1704, allocations: 0 / 0.5082 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1704, allocations: 0 / 0.5082 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1708, allocations: 353.3 kB / 0.5085 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1708, allocations: 4 kB / 0.5085 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.171, allocations: 25.86 kB / 0.5085 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.171, allocations: 1.469 kB / 0.5085 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.171, allocations: 5.312 kB / 0.5086 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.171, allocations: 0 / 0.5086 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.171, allocations: 5.312 kB / 0.5086 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.1714, allocations: 220.6 kB / 0.5088 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/0.1715, allocations: 85.31 kB / 0.5089 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1715, allocations: 9.562 kB / 0.5089 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.1716, allocations: 1.469 kB / 0.5089 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1716, allocations: 6.734 kB / 0.5089 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.1716, allocations: 12 kB / 0.5089 GB, free: 4.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.1717, allocations: 81.05 kB / 0.509 GB, free: 4.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1717, allocations: 0 / 0.509 GB, free: 4.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.172, allocations: 45.23 kB / 0.509 GB, free: 4.793 MB / 382.1 MB 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.0002605/0.1723, allocations: 140.5 kB / 0.5091 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.1725, allocations: 66.92 kB / 0.5092 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1725, allocations: 0 / 0.5092 GB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.1725, allocations: 33.3 kB / 0.5092 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1728, allocations: 11.44 kB / 0.5092 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.1732, allocations: 196.4 kB / 0.5094 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.1734, allocations: 0.6834 MB / 0.5101 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.422e-05/0.1734, allocations: 14.64 kB / 0.5101 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.1735, allocations: 12.44 kB / 0.5101 GB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1735, allocations: 0 / 0.5101 GB, free: 3.758 MB / 382.1 MB Notification: Performance of Templates: time 0.004971/0.1784, allocations: 1.419 MB / 0.5115 GB, free: 2.5 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)