Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000926/0.000926, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001313/0.001313, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 15.98 kB / 0.507 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1689, allocations: 82.3 MB / 0.5874 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001526/0.1705, allocations: 1.148 MB / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002438/0.1707, allocations: 90.34 kB / 0.5886 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.1708, allocations: 4 kB / 0.5886 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.1708, allocations: 3.938 kB / 0.5886 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.877e-05/0.1709, allocations: 3.984 kB / 0.5886 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.171, allocations: 8 kB / 0.5886 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.1711, allocations: 23.91 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.645e-05/0.1712, allocations: 4 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.888e-05/0.1712, allocations: 11.92 kB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.933e-05/0.1713, allocations: 15.92 kB / 0.5887 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1713, allocations: 0 / 0.5887 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.124e-05/0.1713, allocations: 19.98 kB / 0.5887 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1713, allocations: 8 kB / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.1714, allocations: 25.7 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.326e-05/0.1715, allocations: 11.97 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1715, allocations: 8 kB / 0.5887 GB, free: 1.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1715, allocations: 3.938 kB / 0.5887 GB, free: 1.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1715, allocations: 0 / 0.5887 GB, free: 1.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004/0.1719, allocations: 343.5 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1719, allocations: 8.031 kB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1721, allocations: 15.98 kB / 0.5891 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1722, allocations: 171 kB / 0.5892 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1722, allocations: 8 kB / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.1723, allocations: 0 / 0.5892 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1725, allocations: 65.61 kB / 0.5893 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1725, allocations: 4 kB / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.1725, allocations: 0 / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1725, allocations: 0 / 0.5893 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002266/0.1727, allocations: 67.94 kB / 0.5894 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.1731, allocations: 268.8 kB / 0.5896 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1733, allocations: 70.47 kB / 0.5897 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1734, allocations: 32.91 kB / 0.5897 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.1734, allocations: 0 / 0.5897 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1734, allocations: 38.56 kB / 0.5898 GB, free: 364 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1735, allocations: 0 / 0.5898 GB, free: 364 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004075/0.1739, allocations: 117.7 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1739, allocations: 59.39 kB / 0.5899 GB, free: 168 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.174, allocations: 105.9 kB / 0.59 GB, free: 52 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.174, allocations: 29.64 kB / 0.5901 GB, free: 16 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.1741, allocations: 88.12 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.1741, allocations: 7.844 kB / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/0.1741, allocations: 0 / 0.5902 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1742, allocations: 322.8 kB / 0.5905 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1743, allocations: 31.97 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.185e-05/0.1744, allocations: 31.98 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.1745, allocations: 27.97 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1745, allocations: 0 / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002312/0.1748, allocations: 97.7 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1748, allocations: 10.66 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1748, allocations: 0 / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1748, allocations: 3.984 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1749, allocations: 8 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.175, allocations: 8.016 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.175, allocations: 12 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.175, allocations: 0 / 0.5907 GB, free: 15.36 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/0.1751, allocations: 121.7 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1752, allocations: 7.906 kB / 0.5908 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.1752, allocations: 3.531 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1752, allocations: 3.938 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1752, allocations: 0 / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1752, allocations: 4 kB / 0.5908 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1754, allocations: 169.6 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1754, allocations: 0 / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.1755, allocations: 15.98 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1755, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.1755, allocations: 3.938 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1755, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1755, allocations: 0 / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1758, allocations: 191.5 kB / 0.5912 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.1759, allocations: 85.14 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1759, allocations: 4 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.176, allocations: 11.98 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1761, allocations: 3.938 kB / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1761, allocations: 0 / 0.5913 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.632e-05/0.1762, allocations: 91.52 kB / 0.5914 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1762, allocations: 0 / 0.5914 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000237/0.1764, allocations: 8 kB / 0.5914 GB, free: 14.55 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000186/0.1766, allocations: 99.25 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1769, allocations: 59.95 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1769, allocations: 4.062 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.1771, allocations: 31.97 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1774, allocations: 7.953 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.1779, allocations: 140.6 kB / 0.5917 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1783, allocations: 0.6809 MB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.1783, allocations: 0 / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1783, allocations: 7.438 kB / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1783, allocations: 0 / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of Templates: time 0.002789/0.1811, allocations: 491.8 kB / 0.5928 GB, free: 12.99 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)