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.005739/0.005739, allocations: 107 kB / 15.74 MB, free: 5.996 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.001332/0.001332, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8122/0.8122, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 69.48 kB / 0.5856 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1682, allocations: 80.92 MB / 0.6646 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002676/0.171, allocations: 1.431 MB / 0.666 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.1713, allocations: 92.66 kB / 0.6661 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.536e-05/0.1713, allocations: 0 / 0.6661 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.1713, allocations: 3.938 kB / 0.6661 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.1714, allocations: 3.938 kB / 0.6661 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1716, allocations: 15.97 kB / 0.6662 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.1717, allocations: 27.92 kB / 0.6662 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1719, allocations: 7.984 kB / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.119e-05/0.1719, allocations: 15.92 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.172, allocations: 11.98 kB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.172, allocations: 4 kB / 0.6662 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.1721, allocations: 19.98 kB / 0.6662 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.1721, allocations: 7.938 kB / 0.6662 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.1721, allocations: 7.938 kB / 0.6663 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1723, allocations: 35.88 kB / 0.6663 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1723, allocations: 0 / 0.6663 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.1723, allocations: 0 / 0.6663 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.1723, allocations: 4 kB / 0.6663 GB, free: 4.082 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005512/0.1729, allocations: 343.3 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.1729, allocations: 17.11 kB / 0.6666 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.1731, allocations: 12.86 kB / 0.6666 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.1733, allocations: 164.4 kB / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.1733, allocations: 384 / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.1733, allocations: 4.375 kB / 0.6668 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.1736, allocations: 58.22 kB / 0.6669 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1736, allocations: 4.125 kB / 0.6669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1736, allocations: 7.938 kB / 0.6669 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1736, allocations: 4 kB / 0.6669 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.1738, allocations: 39.95 kB / 0.6669 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1743, allocations: 272.8 kB / 0.6672 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1745, allocations: 54.48 kB / 0.6672 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1746, allocations: 28.89 kB / 0.6673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.1746, allocations: 0 / 0.6673 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.1747, allocations: 34.56 kB / 0.6673 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1747, allocations: 0 / 0.6673 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005216/0.1752, allocations: 105.6 kB / 0.6674 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1753, allocations: 55.41 kB / 0.6674 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1754, allocations: 101.8 kB / 0.6675 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1754, allocations: 29.7 kB / 0.6676 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.673e-05/0.1755, allocations: 84.14 kB / 0.6676 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.1755, allocations: 7.844 kB / 0.6677 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.1756, allocations: 17.7 kB / 0.6677 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1757, allocations: 319 kB / 0.668 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1759, allocations: 23.97 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.176, allocations: 19.98 kB / 0.668 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1762, allocations: 52.75 kB / 0.6681 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1762, allocations: 4.062 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002446/0.1764, allocations: 89.52 kB / 0.6682 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1765, allocations: 5.875 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1765, allocations: 0 / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1765, allocations: 0 / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1766, allocations: 11.98 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1766, allocations: 4.234 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/0.1767, allocations: 16.02 kB / 0.6682 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1767, allocations: 4 kB / 0.6682 GB, free: 1.902 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.1768, allocations: 113.8 kB / 0.6683 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1769, allocations: 7.906 kB / 0.6683 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.1769, allocations: 3.531 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1769, allocations: 0 / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1769, allocations: 0 / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1769, allocations: 0 / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1771, allocations: 169.6 kB / 0.6685 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1771, allocations: 7.984 kB / 0.6685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.568e-05/0.1772, allocations: 8 kB / 0.6685 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1772, allocations: 3.984 kB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1772, allocations: 0 / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1772, allocations: 0 / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1772, allocations: 3.938 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1775, allocations: 179.4 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.519e-05/0.1775, allocations: 81.09 kB / 0.6687 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1776, allocations: 4 kB / 0.6688 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.948e-05/0.1776, allocations: 7.984 kB / 0.6688 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.1777, allocations: 7.984 kB / 0.6688 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1777, allocations: 0 / 0.6688 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.1777, allocations: 83.28 kB / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1778, allocations: 0 / 0.6688 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002115/0.178, allocations: 8.031 kB / 0.6689 GB, free: 1.133 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.899e-05/0.1781, allocations: 104.6 kB / 0.669 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.1783, allocations: 47.89 kB / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1783, allocations: 0 / 0.669 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1785, allocations: 32.03 kB / 0.669 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1787, allocations: 14.69 kB / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.1791, allocations: 133.3 kB / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1794, allocations: 0.6768 MB / 0.6698 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.1795, allocations: 4 kB / 0.6698 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.1795, allocations: 11.5 kB / 0.6698 GB, free: 56 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1795, allocations: 0 / 0.6698 GB, free: 56 kB / 0.4981 GB Notification: Performance of Templates: time 0.002756/0.1823, allocations: 0.5681 MB / 0.6704 GB, free: 15.49 MB / 0.5137 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)