Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008707/0.0008707, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009305/0.0009305, allocations: 177.3 kB / 15.94 MB, free: 228 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.236/1.236, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8653/0.8653, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 8 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1692, allocations: 82.32 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001432/0.1707, allocations: 1.148 MB / 0.5883 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003077/0.171, allocations: 96.56 kB / 0.5884 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.52e-05/0.1711, allocations: 0 / 0.5884 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.139e-05/0.1711, allocations: 0 / 0.5884 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.1711, allocations: 4 kB / 0.5884 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.1713, allocations: 15.92 kB / 0.5884 GB, free: 1.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.094e-05/0.1713, allocations: 11.98 kB / 0.5884 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.1714, allocations: 11.92 kB / 0.5884 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.1715, allocations: 4 kB / 0.5885 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.1715, allocations: 15.92 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1715, allocations: 0 / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.865e-05/0.1716, allocations: 19.98 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.1716, allocations: 3.984 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.1716, allocations: 25.7 kB / 0.5885 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.798e-05/0.1717, allocations: 27.91 kB / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1717, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1717, allocations: 0 / 0.5885 GB, free: 1.703 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1717, allocations: 0 / 0.5885 GB, free: 1.703 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.0003747/0.1721, allocations: 347.5 kB / 0.5889 GB, free: 1.316 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.1721, allocations: 8.031 kB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/0.1723, allocations: 15.98 kB / 0.5889 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1724, allocations: 178.9 kB / 0.5891 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1724, allocations: 4 kB / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1725, allocations: 0 / 0.5891 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1726, allocations: 65.67 kB / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1727, allocations: 0 / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1727, allocations: 0 / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1727, allocations: 0 / 0.5891 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.1729, allocations: 71.88 kB / 0.5892 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1733, allocations: 264.9 kB / 0.5895 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1735, allocations: 62.55 kB / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1735, allocations: 0 / 0.5895 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1735, allocations: 30.56 kB / 0.5895 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1735, allocations: 64 / 0.5895 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004172/0.174, allocations: 129.6 kB / 0.5897 GB, free: 392 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.174, allocations: 51.41 kB / 0.5897 GB, free: 328 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.1741, allocations: 110 kB / 0.5898 GB, free: 208 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1741, allocations: 25.7 kB / 0.5898 GB, free: 176 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.1742, allocations: 84.14 kB / 0.5899 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.1742, allocations: 15.78 kB / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.1742, allocations: 0 / 0.5899 GB, free: 72 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1743, allocations: 314.8 kB / 0.5902 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.1744, allocations: 35.97 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.512e-05/0.1745, allocations: 31.97 kB / 0.5903 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.1746, allocations: 32.05 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1746, allocations: 0 / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002369/0.1749, allocations: 97.58 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1749, allocations: 4 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1749, allocations: 8.031 kB / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1749, allocations: 0 / 0.5904 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.175, allocations: 11.98 kB / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.175, allocations: 0 / 0.5905 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.1751, allocations: 15.98 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1751, allocations: 0 / 0.5905 GB, free: 15.52 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 6.502e-05/0.1752, allocations: 113.8 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.1752, allocations: 7.906 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.1753, allocations: 7.531 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1753, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1753, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1753, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1754, allocations: 165.6 kB / 0.5907 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1754, allocations: 3.984 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.1755, allocations: 16 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1755, allocations: 11.91 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1756, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1756, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1756, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.1758, allocations: 195.4 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.1759, allocations: 89 kB / 0.591 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1759, allocations: 256 / 0.591 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.176, allocations: 12 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.1761, allocations: 4.016 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1761, allocations: 4 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.1761, allocations: 87.28 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.302e-06/0.1761, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002025/0.1763, allocations: 7.938 kB / 0.5912 GB, free: 14.71 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 9.709e-05/0.1764, allocations: 95.25 kB / 0.5912 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1767, allocations: 67.94 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1767, allocations: 0 / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.1769, allocations: 43.97 kB / 0.5914 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.1771, allocations: 3.953 kB / 0.5914 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.1774, allocations: 128.7 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1776, allocations: 0.6849 MB / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.1776, allocations: 0 / 0.5922 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.1776, allocations: 7.438 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1776, allocations: 0 / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.002101/0.1798, allocations: 487.5 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: