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.001111/0.001111, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.00954/0.009541, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9376/0.9376, allocations: 135.3 MB / 426.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 12 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 82.31 MB / 0.588 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006839/0.1591, allocations: 319 kB / 0.5883 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.1594, allocations: 91.8 kB / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.08e-05/0.1594, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.119e-05/0.1594, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.1595, allocations: 0 / 0.5884 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.1596, allocations: 15.92 kB / 0.5884 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.951e-05/0.1597, allocations: 4 kB / 0.5884 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.1597, allocations: 4 kB / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1598, allocations: 7.984 kB / 0.5884 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.1598, allocations: 11.92 kB / 0.5884 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1599, allocations: 0 / 0.5884 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.49e-05/0.1599, allocations: 15.98 kB / 0.5884 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.1599, allocations: 0 / 0.5884 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.16, allocations: 29.7 kB / 0.5885 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.401e-05/0.16, allocations: 11.92 kB / 0.5885 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1601, allocations: 0 / 0.5885 GB, free: 2.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1601, allocations: 0 / 0.5885 GB, free: 2.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1601, allocations: 0 / 0.5885 GB, free: 2.098 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.0003096/0.1604, allocations: 323.6 kB / 0.5888 GB, free: 1.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1604, allocations: 12.03 kB / 0.5888 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.1606, allocations: 8.922 kB / 0.5888 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.838e-05/0.1607, allocations: 160.4 kB / 0.5889 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.1607, allocations: 384 / 0.5889 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.1607, allocations: 384 / 0.5889 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.1609, allocations: 46.19 kB / 0.589 GB, free: 1.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1609, allocations: 8.188 kB / 0.589 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1609, allocations: 7.922 kB / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1609, allocations: 0 / 0.589 GB, free: 1.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.161, allocations: 11.98 kB / 0.589 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1612, allocations: 153.7 kB / 0.5892 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.1613, allocations: 42.59 kB / 0.5892 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.1614, allocations: 24.86 kB / 0.5892 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1614, allocations: 0 / 0.5892 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1614, allocations: 38.5 kB / 0.5893 GB, free: 1.113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.1614, allocations: 0 / 0.5893 GB, free: 1.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002025/0.1616, allocations: 61.52 kB / 0.5893 GB, free: 1.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.1617, allocations: 55.41 kB / 0.5894 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.371e-05/0.1617, allocations: 89.86 kB / 0.5895 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1618, allocations: 29.7 kB / 0.5895 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.344e-05/0.1618, allocations: 80.14 kB / 0.5896 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1618, allocations: 8.125 kB / 0.5896 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.1618, allocations: 17.7 kB / 0.5896 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.162, allocations: 314.8 kB / 0.5899 GB, free: 428 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.152e-05/0.162, allocations: 4 kB / 0.5899 GB, free: 424 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.1621, allocations: 7.984 kB / 0.5899 GB, free: 416 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.1622, allocations: 28.78 kB / 0.5899 GB, free: 384 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1622, allocations: 3.938 kB / 0.5899 GB, free: 380 kB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001124/0.1623, allocations: 45.69 kB / 0.59 GB, free: 328 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1623, allocations: 4 kB / 0.59 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1623, allocations: 4 kB / 0.59 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1623, allocations: 3.938 kB / 0.59 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003813/0.1627, allocations: 39.94 kB / 0.59 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.164, allocations: 1.318 MB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.164, allocations: 0 / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.164, allocations: 4.031 kB / 0.5913 GB, free: 14.82 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 (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.817e-05/0.1641, allocations: 105.8 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/0.1641, allocations: 8.031 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.1642, allocations: 11.48 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1642, allocations: 4 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1642, allocations: 0 / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1642, allocations: 3.984 kB / 0.5914 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.1643, allocations: 149.6 kB / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1643, allocations: 0 / 0.5916 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.1647, allocations: 47.92 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1647, allocations: 3.938 kB / 0.5916 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1647, allocations: 4 kB / 0.5916 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.1658, allocations: 1.306 MB / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1658, allocations: 0 / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.166, allocations: 85.17 kB / 0.593 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.166, allocations: 77.11 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-06/0.166, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.588e-05/0.1661, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.1661, allocations: 11.98 kB / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1661, allocations: 3.938 kB / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.378e-05/0.1661, allocations: 75.28 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1661, allocations: 4 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001952/0.1663, allocations: 4 kB / 0.5932 GB, free: 12.7 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.0001388/0.1665, allocations: 99.19 kB / 0.5933 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.167, allocations: 67.84 kB / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.167, allocations: 0 / 0.5933 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.1672, allocations: 35.95 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.1674, allocations: 3.938 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.1677, allocations: 106.7 kB / 0.5935 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.1679, allocations: 0.6731 MB / 0.5941 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.251e-05/0.168, allocations: 240 / 0.5941 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.168, allocations: 15.42 kB / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of SimCode: time 7.21e-07/0.168, allocations: 0 / 0.5941 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of Templates: time 0.002332/0.1703, allocations: 388.6 kB / 0.5945 GB, free: 11.26 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)