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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00116/0.00116, allocations: 192.9 kB / 16.13 MB, free: 6.648 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9976/0.9976, allocations: 135.1 MB / 425.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.75 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1782, allocations: 80.93 MB / 0.5837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001946/0.1802, allocations: 0.6387 MB / 0.5843 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003647/0.1806, allocations: 99.7 kB / 0.5844 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.294e-05/0.1806, allocations: 8 kB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.1806, allocations: 0 / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.5e-05/0.1807, allocations: 0 / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.1809, allocations: 4 kB / 0.5845 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.1809, allocations: 11.98 kB / 0.5845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.181, allocations: 0 / 0.5845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.181, allocations: 7.938 kB / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.1811, allocations: 0 / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1811, allocations: 0 / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.986e-05/0.1812, allocations: 15.98 kB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.1812, allocations: 7.984 kB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.1813, allocations: 4 kB / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1814, allocations: 23.84 kB / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1814, allocations: 0 / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1814, allocations: 0 / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1814, allocations: 0 / 0.5845 GB, free: 4.152 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.0004237/0.1818, allocations: 315.6 kB / 0.5848 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.1819, allocations: 8.031 kB / 0.5848 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.1821, allocations: 12.92 kB / 0.5848 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1822, allocations: 172.3 kB / 0.585 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1822, allocations: 4.375 kB / 0.585 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1822, allocations: 4.359 kB / 0.585 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1824, allocations: 34.25 kB / 0.585 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1824, allocations: 192 / 0.585 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1824, allocations: 3.938 kB / 0.585 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1824, allocations: 0 / 0.585 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.1825, allocations: 15.98 kB / 0.5851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.1827, allocations: 157.7 kB / 0.5852 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1828, allocations: 46.56 kB / 0.5853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.1829, allocations: 20.84 kB / 0.5853 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.1829, allocations: 0 / 0.5853 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1829, allocations: 30.56 kB / 0.5853 GB, free: 3.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.183, allocations: 4 kB / 0.5853 GB, free: 3.176 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002042/0.1832, allocations: 57.61 kB / 0.5854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1832, allocations: 55.34 kB / 0.5854 GB, free: 3.047 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.095e-05/0.1832, allocations: 89.86 kB / 0.5855 GB, free: 2.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.1833, allocations: 25.7 kB / 0.5855 GB, free: 2.918 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.225e-05/0.1833, allocations: 84.14 kB / 0.5856 GB, free: 2.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.202e-05/0.1833, allocations: 16.03 kB / 0.5856 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.1834, allocations: 13.72 kB / 0.5856 GB, free: 2.797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1835, allocations: 318.8 kB / 0.5859 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.19e-05/0.1835, allocations: 8 kB / 0.586 GB, free: 2.469 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-05/0.1836, allocations: 7.984 kB / 0.586 GB, free: 2.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.1837, allocations: 20.8 kB / 0.586 GB, free: 2.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1837, allocations: 0 / 0.586 GB, free: 2.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001049/0.1838, allocations: 49.67 kB / 0.586 GB, free: 2.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1838, allocations: 4 kB / 0.586 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1838, allocations: 8 kB / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1838, allocations: 7.875 kB / 0.586 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.1842, allocations: 39.94 kB / 0.5861 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.1855, allocations: 1.314 MB / 0.5874 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.141e-05/0.1855, allocations: 4.031 kB / 0.5874 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1855, allocations: 4 kB / 0.5874 GB, free: 0.8711 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.638e-05/0.1856, allocations: 109.8 kB / 0.5875 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.1856, allocations: 11.88 kB / 0.5875 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.479e-05/0.1857, allocations: 3.5 kB / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1857, allocations: 0 / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1857, allocations: 0 / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1857, allocations: 4.062 kB / 0.5875 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1858, allocations: 157.6 kB / 0.5876 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1858, allocations: 0 / 0.5876 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.1862, allocations: 47.92 kB / 0.5877 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1862, allocations: 0 / 0.5877 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1862, allocations: 0 / 0.5877 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001134/0.1873, allocations: 1.314 MB / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1874, allocations: 0 / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1875, allocations: 77.08 kB / 0.589 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.1875, allocations: 77.11 kB / 0.5891 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.463e-06/0.1875, allocations: 8.094 kB / 0.5891 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.1876, allocations: 0 / 0.5891 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.1876, allocations: 3.984 kB / 0.5891 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1876, allocations: 4 kB / 0.5891 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.103e-05/0.1876, allocations: 76.94 kB / 0.5892 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1876, allocations: 0 / 0.5892 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00019/0.1878, allocations: 8 kB / 0.5892 GB, free: 14.75 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/0.188, allocations: 103.1 kB / 0.5893 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.1884, allocations: 63.95 kB / 0.5894 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1884, allocations: 0 / 0.5894 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1887, allocations: 47.97 kB / 0.5894 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1888, allocations: 2.344 kB / 0.5894 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.1891, allocations: 98.94 kB / 0.5895 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1894, allocations: 0.6731 MB / 0.5902 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.1894, allocations: 0 / 0.5902 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.1895, allocations: 19.42 kB / 0.5902 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1895, allocations: 3.938 kB / 0.5902 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.002245/0.1917, allocations: 387.9 kB / 0.5906 GB, free: 13.31 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)