Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001308/0.001308, allocations: 168.7 kB / 15.95 MB, free: 204 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.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003727, allocations: 16 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008502/0.1777, allocations: 311.1 kB / 0.5877 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00029/0.178, allocations: 99.66 kB / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.089e-05/0.178, allocations: 0 / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.178, allocations: 0 / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.186e-05/0.1781, allocations: 0 / 0.5878 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.1783, allocations: 15.98 kB / 0.5878 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.1783, allocations: 4 kB / 0.5878 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.1784, allocations: 0 / 0.5878 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.1784, allocations: 3.938 kB / 0.5878 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.1785, allocations: 7.984 kB / 0.5878 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1785, allocations: 0 / 0.5878 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.1786, allocations: 15.98 kB / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.1786, allocations: 0 / 0.5878 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.1786, allocations: 25.7 kB / 0.5879 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.627e-05/0.1787, allocations: 11.98 kB / 0.5879 GB, free: 2.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1787, allocations: 4 kB / 0.5879 GB, free: 2.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1787, allocations: 0 / 0.5879 GB, free: 2.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1787, allocations: 0 / 0.5879 GB, free: 2.504 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.0003308/0.1791, allocations: 315.4 kB / 0.5882 GB, free: 2.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1791, allocations: 12.03 kB / 0.5882 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.1793, allocations: 7.984 kB / 0.5882 GB, free: 2.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.1794, allocations: 163 kB / 0.5883 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1794, allocations: 7.922 kB / 0.5883 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1794, allocations: 0 / 0.5883 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.1795, allocations: 45.69 kB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.1796, allocations: 0 / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1796, allocations: 0 / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1796, allocations: 0 / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.1797, allocations: 15.98 kB / 0.5884 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.1798, allocations: 149.6 kB / 0.5885 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.18, allocations: 50.53 kB / 0.5886 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.1801, allocations: 12.91 kB / 0.5886 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1801, allocations: 0 / 0.5886 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1801, allocations: 46.5 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1801, allocations: 0 / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002159/0.1803, allocations: 57.58 kB / 0.5887 GB, free: 1.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1804, allocations: 59.41 kB / 0.5888 GB, free: 1.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.1805, allocations: 89.86 kB / 0.5889 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1805, allocations: 25.7 kB / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.1805, allocations: 80.14 kB / 0.589 GB, free: 1.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1806, allocations: 12.06 kB / 0.589 GB, free: 1.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1806, allocations: 3.938 kB / 0.589 GB, free: 1.172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1807, allocations: 318.8 kB / 0.5893 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.367e-05/0.1807, allocations: 3.984 kB / 0.5893 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.43e-05/0.1808, allocations: 8 kB / 0.5893 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.1808, allocations: 15.98 kB / 0.5893 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1808, allocations: 0 / 0.5893 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001036/0.1809, allocations: 49.92 kB / 0.5893 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.181, allocations: 4 kB / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.181, allocations: 0 / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.181, allocations: 48 / 0.5894 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.1813, allocations: 47.92 kB / 0.5894 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1826, allocations: 1.31 MB / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.1826, allocations: 0 / 0.5907 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1826, allocations: 0 / 0.5907 GB, free: 15.28 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.1827, allocations: 114 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-06/0.1827, allocations: 7.953 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.422e-05/0.1827, allocations: 3.5 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1827, allocations: 0 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.62e-07/0.1827, allocations: 0 / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1827, allocations: 3.984 kB / 0.5908 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.756e-05/0.1828, allocations: 149.7 kB / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1829, allocations: 0 / 0.5909 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.1832, allocations: 59.81 kB / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1832, allocations: 0 / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.1832, allocations: 0 / 0.591 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.1842, allocations: 1.306 MB / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1843, allocations: 160 / 0.5923 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.1844, allocations: 85.03 kB / 0.5924 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.1844, allocations: 85 kB / 0.5924 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-06/0.1844, allocations: 0 / 0.5924 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.907e-05/0.1845, allocations: 4 kB / 0.5924 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.1845, allocations: 3.984 kB / 0.5924 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1845, allocations: 0 / 0.5924 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.1845, allocations: 79.28 kB / 0.5925 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1846, allocations: 0 / 0.5925 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000195/0.1848, allocations: 4 kB / 0.5925 GB, free: 13.16 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.1849, allocations: 99.25 kB / 0.5926 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.1853, allocations: 67.84 kB / 0.5927 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1853, allocations: 0 / 0.5927 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.1855, allocations: 35.95 kB / 0.5927 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.1857, allocations: 4 kB / 0.5927 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.1861, allocations: 104.4 kB / 0.5928 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1864, allocations: 0.6731 MB / 0.5935 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.719e-05/0.1864, allocations: 4 kB / 0.5935 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.936e-05/0.1864, allocations: 11.42 kB / 0.5935 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1864, allocations: 0 / 0.5935 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.002255/0.1887, allocations: 383.5 kB / 0.5939 GB, free: 11.73 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)