Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 105.5 kB / 16.41 MB, free: 6.52 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.001263/0.001263, allocations: 183 kB / 17.34 MB, free: 5.738 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.563/1.563, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8504/0.8504, allocations: 135.2 MB / 426.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 69.64 kB / 0.5864 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.169, allocations: 80.93 MB / 0.6654 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001632/0.1707, allocations: 0.5565 MB / 0.666 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000684/0.1713, allocations: 329.7 kB / 0.6663 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1714, allocations: 0 / 0.6663 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.274e-05/0.1714, allocations: 4 kB / 0.6663 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.67e-06/0.1714, allocations: 3.938 kB / 0.6663 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1718, allocations: 107.7 kB / 0.6664 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.364e-05/0.1719, allocations: 0 / 0.6664 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.1719, allocations: 0 / 0.6664 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.333e-05/0.1719, allocations: 4 kB / 0.6664 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.502e-05/0.172, allocations: 4 kB / 0.6664 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.172, allocations: 0 / 0.6664 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.1724, allocations: 279.6 kB / 0.6667 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.1724, allocations: 7.922 kB / 0.6667 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1724, allocations: 0 / 0.6667 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1726, allocations: 87.73 kB / 0.6667 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1726, allocations: 0 / 0.6667 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1726, allocations: 0 / 0.6667 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.1726, allocations: 0 / 0.6667 GB, free: 4.316 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003656/0.173, allocations: 335.3 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.173, allocations: 13.05 kB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.173, allocations: 0.9375 kB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1732, allocations: 172.4 kB / 0.6672 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.1732, allocations: 384 / 0.6672 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1732, allocations: 384 / 0.6672 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.229e-05/0.1733, allocations: 26.27 kB / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.1733, allocations: 192 / 0.6673 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1733, allocations: 7.938 kB / 0.6673 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1733, allocations: 0 / 0.6673 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.201e-05/0.1733, allocations: 7.922 kB / 0.6673 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1735, allocations: 145.7 kB / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.1735, allocations: 22.61 kB / 0.6674 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.1735, allocations: 4.859 kB / 0.6674 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005163/0.1741, allocations: 425.6 kB / 0.6679 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1741, allocations: 34.56 kB / 0.6679 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1741, allocations: 0 / 0.6679 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.1742, allocations: 45.56 kB / 0.6679 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1743, allocations: 51.41 kB / 0.668 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.226e-05/0.1743, allocations: 89.86 kB / 0.6681 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1743, allocations: 25.7 kB / 0.6681 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.442e-05/0.1744, allocations: 88.08 kB / 0.6682 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1744, allocations: 0 / 0.6682 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.1744, allocations: 13.84 kB / 0.6682 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1746, allocations: 314.8 kB / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.1746, allocations: 0 / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.1746, allocations: 0 / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.112e-05/0.1746, allocations: 8.859 kB / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1746, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.448e-05/0.1747, allocations: 45.58 kB / 0.6685 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1747, allocations: 8 kB / 0.6685 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1747, allocations: 96 / 0.6685 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1747, allocations: 7.938 kB / 0.6686 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.11e-05/0.1748, allocations: 0 / 0.6686 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1748, allocations: 4 kB / 0.6686 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.1748, allocations: 3.938 kB / 0.6686 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1748, allocations: 0 / 0.6686 GB, free: 2.137 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 (1): * Single equations (assignments): 1 * 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.148e-05/0.1749, allocations: 105.8 kB / 0.6687 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.1749, allocations: 0 / 0.6687 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.175, allocations: 52.75 kB / 0.6687 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.175, allocations: 0 / 0.6687 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.175, allocations: 3.938 kB / 0.6687 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.175, allocations: 0 / 0.6687 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.1751, allocations: 145.7 kB / 0.6689 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1751, allocations: 0 / 0.6689 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.1751, allocations: 4 kB / 0.6689 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1751, allocations: 0 / 0.6689 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.1751, allocations: 3.938 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1751, allocations: 4 kB / 0.6689 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1751, allocations: 0 / 0.6689 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.08e-05/0.1752, allocations: 65.16 kB / 0.6689 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.1753, allocations: 77.11 kB / 0.669 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1753, allocations: 3.938 kB / 0.669 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.1753, allocations: 0 / 0.669 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.982e-05/0.1753, allocations: 4 kB / 0.669 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.1753, allocations: 0 / 0.669 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.1753, allocations: 75.28 kB / 0.6691 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.1753, allocations: 4.031 kB / 0.6691 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001966/0.1755, allocations: 8 kB / 0.6691 GB, free: 1.484 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001941/0.1757, allocations: 123.1 kB / 0.6692 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.73e-05/0.1758, allocations: 4 kB / 0.6692 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1758, allocations: 0 / 0.6692 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.283e-06/0.1758, allocations: 4 kB / 0.6692 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1759, allocations: 7.938 kB / 0.6692 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.1762, allocations: 118.7 kB / 0.6693 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1765, allocations: 0.6729 MB / 0.67 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.466e-05/0.1765, allocations: 7.438 kB / 0.67 GB, free: 492 kB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1765, allocations: 0 / 0.67 GB, free: 492 kB / 0.4981 GB Notification: Performance of Templates: time 0.00213/0.1786, allocations: 459.7 kB / 0.6704 GB, free: 32 kB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)