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.001229/0.001229, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 192 kB / 16.53 MB, free: 6.391 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9583/0.9583, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.64 kB / 0.5053 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1733, allocations: 80.92 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002594/0.1759, allocations: 1.44 MB / 0.5858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.1762, allocations: 92.59 kB / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.1762, allocations: 0 / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.1763, allocations: 0 / 0.5859 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.1763, allocations: 3.938 kB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1765, allocations: 11.98 kB / 0.5859 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.607e-05/0.1766, allocations: 31.86 kB / 0.5859 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.898e-05/0.1767, allocations: 7.984 kB / 0.5859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.1767, allocations: 15.98 kB / 0.5859 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.1768, allocations: 11.94 kB / 0.5859 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1768, allocations: 0 / 0.5859 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.1768, allocations: 15.98 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.1769, allocations: 7.984 kB / 0.586 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1769, allocations: 7.938 kB / 0.586 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.532e-05/0.177, allocations: 31.89 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.177, allocations: 0 / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.177, allocations: 0 / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.177, allocations: 7.938 kB / 0.586 GB, free: 2.824 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.000417/0.1774, allocations: 343.7 kB / 0.5863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1775, allocations: 12.03 kB / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1776, allocations: 8.922 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.1778, allocations: 172.3 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1778, allocations: 384 / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1778, allocations: 4.312 kB / 0.5865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.178, allocations: 62.22 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.178, allocations: 192 / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.178, allocations: 7.938 kB / 0.5866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.178, allocations: 4 kB / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.1782, allocations: 39.95 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.1786, allocations: 268.9 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.1788, allocations: 54.48 kB / 0.5869 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1789, allocations: 28.89 kB / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.1789, allocations: 0 / 0.587 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.179, allocations: 34.56 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.083e-06/0.179, allocations: 7.922 kB / 0.587 GB, free: 1.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004119/0.1794, allocations: 105.6 kB / 0.5871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1794, allocations: 55.41 kB / 0.5872 GB, free: 1.457 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.025e-05/0.1795, allocations: 101.8 kB / 0.5873 GB, free: 1.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.1795, allocations: 29.7 kB / 0.5873 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.1796, allocations: 88.05 kB / 0.5874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.1796, allocations: 3.938 kB / 0.5874 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1796, allocations: 17.84 kB / 0.5874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.1797, allocations: 318.8 kB / 0.5877 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1799, allocations: 19.98 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.18, allocations: 23.97 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.1802, allocations: 52.88 kB / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1802, allocations: 0 / 0.5878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000242/0.1804, allocations: 93.42 kB / 0.5879 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1804, allocations: 6.188 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1805, allocations: 0 / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1805, allocations: 0 / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1806, allocations: 16.02 kB / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1806, allocations: 0 / 0.5879 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.1807, allocations: 11.98 kB / 0.5879 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1807, allocations: 0 / 0.5879 GB, free: 0.6484 MB / 494.1 MB 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 6.961e-05/0.1807, allocations: 113.8 kB / 0.588 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.1808, allocations: 4 kB / 0.588 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.1808, allocations: 3.781 kB / 0.588 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1808, allocations: 0 / 0.588 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1808, allocations: 7.938 kB / 0.588 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1808, allocations: 4 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.181, allocations: 169.6 kB / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.181, allocations: 0 / 0.5882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.1811, allocations: 11.98 kB / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1811, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1811, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1811, allocations: 0 / 0.5882 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1811, allocations: 7.922 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.1814, allocations: 179.4 kB / 0.5884 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.1814, allocations: 77.11 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1815, allocations: 4 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.1815, allocations: 7.984 kB / 0.5885 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.1816, allocations: 7.984 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1816, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.081e-05/0.1816, allocations: 87.31 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1817, allocations: 0 / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002146/0.1819, allocations: 7.938 kB / 0.5886 GB, free: 15.87 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.0001085/0.182, allocations: 99.25 kB / 0.5887 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000256/0.1822, allocations: 55.88 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.1823, allocations: 0 / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.1824, allocations: 28.05 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1827, allocations: 11.92 kB / 0.5888 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.183, allocations: 123.1 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1832, allocations: 0.6807 MB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.1832, allocations: 4 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.1833, allocations: 7.438 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1833, allocations: 0 / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of Templates: time 0.00238/0.1857, allocations: 0.5641 MB / 0.5901 GB, free: 14.25 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)