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.001074/0.001074, allocations: 106.9 kB / 16.41 MB, free: 5.973 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.001081/0.001081, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7895/0.7895, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 65.22 kB / 0.5863 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 80.93 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001781/0.153, allocations: 0.5721 MB / 0.6659 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00068/0.1537, allocations: 345.7 kB / 0.6662 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.1537, allocations: 0 / 0.6662 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.916e-05/0.1538, allocations: 3.938 kB / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.983e-05/0.1538, allocations: 0 / 0.6662 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.1543, allocations: 107.7 kB / 0.6663 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.941e-05/0.1544, allocations: 19.92 kB / 0.6664 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1544, allocations: 3.938 kB / 0.6664 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.1545, allocations: 7.984 kB / 0.6664 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.1545, allocations: 4 kB / 0.6664 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1545, allocations: 3.938 kB / 0.6664 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.155, allocations: 275.7 kB / 0.6666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.155, allocations: 0 / 0.6666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.155, allocations: 11.98 kB / 0.6667 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1552, allocations: 91.78 kB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1552, allocations: 0 / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1552, allocations: 0 / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1552, allocations: 0 / 0.6667 GB, free: 4.34 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.0003975/0.1556, allocations: 343.5 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1557, allocations: 13.11 kB / 0.6671 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.1557, allocations: 4.938 kB / 0.6671 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1559, allocations: 172.3 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1559, allocations: 384 / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1559, allocations: 384 / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.426e-05/0.156, allocations: 30.27 kB / 0.6673 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.156, allocations: 192 / 0.6673 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1561, allocations: 11.94 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1561, allocations: 0 / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.561e-05/0.1561, allocations: 11.92 kB / 0.6673 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.1563, allocations: 145.7 kB / 0.6674 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.1563, allocations: 26.59 kB / 0.6675 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.053e-05/0.1564, allocations: 8.922 kB / 0.6675 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007219/0.1571, allocations: 453.5 kB / 0.6679 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1571, allocations: 38.56 kB / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1571, allocations: 0 / 0.6679 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005514/0.1577, allocations: 250.5 kB / 0.6682 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1577, allocations: 55.41 kB / 0.6682 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.1578, allocations: 105.8 kB / 0.6683 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1578, allocations: 25.7 kB / 0.6684 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.1579, allocations: 80.14 kB / 0.6684 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.1579, allocations: 3.906 kB / 0.6684 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1579, allocations: 17.72 kB / 0.6685 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1581, allocations: 322.8 kB / 0.6688 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.1581, allocations: 12.12 kB / 0.6688 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.344e-05/0.1581, allocations: 13.72 kB / 0.6688 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.1582, allocations: 25.7 kB / 0.6688 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1582, allocations: 0 / 0.6688 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.764e-05/0.1583, allocations: 57.48 kB / 0.6689 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1583, allocations: 11.94 kB / 0.6689 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1583, allocations: 4.062 kB / 0.6689 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1583, allocations: 0 / 0.6689 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.1584, allocations: 11.98 kB / 0.6689 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1584, allocations: 4 kB / 0.6689 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1584, allocations: 4 kB / 0.6689 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1585, allocations: 0 / 0.6689 GB, free: 1.75 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.89e-05/0.1585, allocations: 115.1 kB / 0.669 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.1586, allocations: 3.938 kB / 0.669 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.1587, allocations: 65.16 kB / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1587, allocations: 0 / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1587, allocations: 0 / 0.6691 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1587, allocations: 4 kB / 0.6691 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1589, allocations: 153.7 kB / 0.6692 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1589, allocations: 0 / 0.6692 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.1589, allocations: 4 kB / 0.6692 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.1589, allocations: 3.938 kB / 0.6692 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1589, allocations: 4 kB / 0.6692 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1589, allocations: 0 / 0.6692 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.159, allocations: 4 kB / 0.6692 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1591, allocations: 81.23 kB / 0.6693 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.1592, allocations: 81.09 kB / 0.6694 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1592, allocations: 7.938 kB / 0.6694 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.1592, allocations: 0 / 0.6694 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.1592, allocations: 4.031 kB / 0.6694 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1592, allocations: 0 / 0.6694 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.1593, allocations: 83.34 kB / 0.6695 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1593, allocations: 0 / 0.6695 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002228/0.1595, allocations: 23.98 kB / 0.6695 GB, free: 1.016 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.0002126/0.1597, allocations: 131.2 kB / 0.6696 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.483e-05/0.1598, allocations: 15.94 kB / 0.6697 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1598, allocations: 0 / 0.6697 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.79e-05/0.1599, allocations: 8 kB / 0.6697 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.16, allocations: 12.2 kB / 0.6697 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.1603, allocations: 135.3 kB / 0.6698 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1605, allocations: 0.6729 MB / 0.6705 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.1606, allocations: 11.44 kB / 0.6705 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1606, allocations: 0 / 0.6705 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.002244/0.1628, allocations: 0.7685 MB / 0.6712 GB, free: 15.2 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)