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.0009456/0.0009454, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006507/0.006507, allocations: 169.8 kB / 16.27 MB, free: 6.66 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.997/0.997, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8.719 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 82.31 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.00174/0.1716, allocations: 1.153 MB / 0.5891 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.172, allocations: 96.59 kB / 0.5892 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.172, allocations: 0 / 0.5892 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.1721, allocations: 7.938 kB / 0.5892 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.1721, allocations: 0 / 0.5892 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.1723, allocations: 15.98 kB / 0.5892 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.1724, allocations: 27.86 kB / 0.5892 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.1725, allocations: 4 kB / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.535e-05/0.1725, allocations: 7.984 kB / 0.5893 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.948e-05/0.1726, allocations: 11.94 kB / 0.5893 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1726, allocations: 0 / 0.5893 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.1727, allocations: 11.98 kB / 0.5893 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.1727, allocations: 15.97 kB / 0.5893 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.63e-05/0.1727, allocations: 33.64 kB / 0.5893 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.182e-05/0.1728, allocations: 27.89 kB / 0.5893 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1729, allocations: 0 / 0.5893 GB, free: 1.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1729, allocations: 3.938 kB / 0.5894 GB, free: 1.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1729, allocations: 0 / 0.5894 GB, free: 1.191 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.0004102/0.1733, allocations: 347.7 kB / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1733, allocations: 8.031 kB / 0.5897 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.1735, allocations: 20.92 kB / 0.5897 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1736, allocations: 164.3 kB / 0.5899 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1737, allocations: 384 / 0.5899 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1737, allocations: 8.375 kB / 0.5899 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1739, allocations: 62.22 kB / 0.5899 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1739, allocations: 4.188 kB / 0.5899 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1739, allocations: 7.875 kB / 0.5899 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1739, allocations: 4 kB / 0.5899 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.1742, allocations: 59.95 kB / 0.59 GB, free: 436 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.1746, allocations: 264.9 kB / 0.5903 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1748, allocations: 66.48 kB / 0.5903 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.1749, allocations: 40.88 kB / 0.5904 GB, free: 0 / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.1749, allocations: 0 / 0.5904 GB, free: 0 / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.175, allocations: 34.56 kB / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.175, allocations: 0 / 0.5904 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004804/0.1755, allocations: 129.7 kB / 0.5905 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.1755, allocations: 51.41 kB / 0.5906 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.1756, allocations: 105.8 kB / 0.5907 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.1756, allocations: 29.7 kB / 0.5907 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.1757, allocations: 88.12 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1757, allocations: 7.844 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.1757, allocations: 9.719 kB / 0.5908 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1758, allocations: 322.8 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1759, allocations: 32.02 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1761, allocations: 31.97 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.1763, allocations: 64.88 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.1763, allocations: 0 / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002789/0.1766, allocations: 105.4 kB / 0.5913 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1766, allocations: 11.98 kB / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1766, allocations: 256 / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.1766, allocations: 0 / 0.5913 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1768, allocations: 20.02 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1768, allocations: 4 kB / 0.5914 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.809e-05/0.1768, allocations: 8 kB / 0.5914 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1769, allocations: 0 / 0.5914 GB, free: 14.89 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 7.297e-05/0.1769, allocations: 117.8 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.177, allocations: 4 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.177, allocations: 3.531 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.177, allocations: 4 kB / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.177, allocations: 0 / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.177, allocations: 0 / 0.5915 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.1773, allocations: 169.6 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1773, allocations: 3.938 kB / 0.5917 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.1774, allocations: 15.98 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1774, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1774, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1774, allocations: 3.938 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1774, allocations: 4 kB / 0.5917 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1778, allocations: 191.4 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.1778, allocations: 85.02 kB / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1778, allocations: 0 / 0.5919 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.1779, allocations: 15.98 kB / 0.592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.178, allocations: 0 / 0.592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.178, allocations: 3.984 kB / 0.592 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.178, allocations: 83.28 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.178, allocations: 4.031 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002215/0.1783, allocations: 4 kB / 0.5921 GB, free: 14.1 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 0.0001228/0.1784, allocations: 99.25 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002698/0.1787, allocations: 67.88 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1787, allocations: 0 / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.1788, allocations: 31.98 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1791, allocations: 16.92 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.1794, allocations: 136.8 kB / 0.5924 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1797, allocations: 0.677 MB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.1797, allocations: 0 / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.1798, allocations: 11.44 kB / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1798, allocations: 0 / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.002493/0.1823, allocations: 0.503 MB / 0.5936 GB, free: 12.51 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)