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.001442/0.001442, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001748/0.001748, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9754/0.9754, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 64.25 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2039, allocations: 80.93 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002164/0.2062, allocations: 0.631 MB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.2065, allocations: 103.7 kB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.2066, allocations: 0 / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.135e-05/0.2066, allocations: 4 kB / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.2067, allocations: 0 / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.207, allocations: 11.98 kB / 0.5846 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.418e-05/0.207, allocations: 4 kB / 0.5846 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.2071, allocations: 4 kB / 0.5846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.2071, allocations: 3.938 kB / 0.5846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.2072, allocations: 4 kB / 0.5847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2073, allocations: 0 / 0.5847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.362e-05/0.2074, allocations: 15.98 kB / 0.5847 GB, free: 4.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.2074, allocations: 3.984 kB / 0.5847 GB, free: 4.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.2074, allocations: 7.984 kB / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.2076, allocations: 23.86 kB / 0.5847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2076, allocations: 3.938 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2076, allocations: 0 / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2076, allocations: 0 / 0.5847 GB, free: 4.051 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.0004848/0.2081, allocations: 319.6 kB / 0.585 GB, free: 3.688 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.2082, allocations: 12.03 kB / 0.585 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002265/0.2084, allocations: 8.922 kB / 0.585 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.2085, allocations: 164.4 kB / 0.5852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.2086, allocations: 384 / 0.5852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2086, allocations: 4.375 kB / 0.5852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.2088, allocations: 38.25 kB / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2088, allocations: 192 / 0.5852 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2088, allocations: 3.938 kB / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.2088, allocations: 0 / 0.5852 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.125e-05/0.2089, allocations: 15.92 kB / 0.5852 GB, free: 3.402 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.2091, allocations: 157.7 kB / 0.5854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.2093, allocations: 38.61 kB / 0.5854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.2094, allocations: 16.91 kB / 0.5854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.2094, allocations: 7.984 kB / 0.5855 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.2094, allocations: 30.56 kB / 0.5855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2094, allocations: 0 / 0.5855 GB, free: 3.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.00024/0.2097, allocations: 69.45 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.2097, allocations: 51.41 kB / 0.5856 GB, free: 2.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.872e-05/0.2098, allocations: 89.86 kB / 0.5857 GB, free: 2.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2098, allocations: 29.7 kB / 0.5857 GB, free: 2.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.2098, allocations: 80.14 kB / 0.5858 GB, free: 2.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.2099, allocations: 12.12 kB / 0.5858 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.2099, allocations: 13.7 kB / 0.5858 GB, free: 2.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.2101, allocations: 318.8 kB / 0.5861 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.2101, allocations: 4 kB / 0.5861 GB, free: 2.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.385e-05/0.2101, allocations: 7.984 kB / 0.5861 GB, free: 2.371 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.2102, allocations: 28.78 kB / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2102, allocations: 0 / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000107/0.2103, allocations: 49.62 kB / 0.5862 GB, free: 2.285 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2104, allocations: 4 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2104, allocations: 0 / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.2104, allocations: 7.938 kB / 0.5862 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.2108, allocations: 43.92 kB / 0.5863 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.2122, allocations: 1.408 MB / 0.5876 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.2122, allocations: 4 kB / 0.5876 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2122, allocations: 8.016 kB / 0.5876 GB, free: 0.6719 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 9.125e-05/0.2123, allocations: 109.8 kB / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.2123, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.2124, allocations: 11.5 kB / 0.5878 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2124, allocations: 4 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.2124, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2124, allocations: 0 / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.2125, allocations: 161.6 kB / 0.5879 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2125, allocations: 336 / 0.5879 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/0.2129, allocations: 51.92 kB / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2129, allocations: 0 / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2129, allocations: 0 / 0.588 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2141, allocations: 1.404 MB / 0.5893 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2141, allocations: 4.062 kB / 0.5893 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.2143, allocations: 74.8 kB / 0.5894 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.2143, allocations: 81.05 kB / 0.5895 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-06/0.2143, allocations: 7.938 kB / 0.5895 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.704e-05/0.2144, allocations: 0 / 0.5895 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2144, allocations: 7.984 kB / 0.5895 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2144, allocations: 4 kB / 0.5895 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.459e-05/0.2144, allocations: 75.28 kB / 0.5896 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2144, allocations: 4 kB / 0.5896 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000193/0.2146, allocations: 4 kB / 0.5896 GB, free: 14.45 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.0001548/0.2148, allocations: 99.25 kB / 0.5897 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004699/0.2153, allocations: 63.91 kB / 0.5897 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.2153, allocations: 0 / 0.5897 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.2156, allocations: 43.83 kB / 0.5898 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2157, allocations: 0 / 0.5898 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.2161, allocations: 108.8 kB / 0.5899 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.2163, allocations: 0.6729 MB / 0.5906 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.2164, allocations: 0 / 0.5906 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.2164, allocations: 15.42 kB / 0.5906 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.2164, allocations: 0 / 0.5906 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.002379/0.2188, allocations: 408.5 kB / 0.591 GB, free: 12.99 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)