Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002595/0.002594, allocations: 358.6 kB / 16.58 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.396/1.396, allocations: 165.8 MB / 183.1 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.92/3.92, allocations: 410.7 MB / 0.6001 GB, free: 37.34 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001834/0.001834, allocations: 198.7 kB / 0.6668 GB, free: 2.055 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004512, allocations: 17.09 kB / 0.7429 GB, free: 73.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1268, allocations: 67.46 MB / 0.8087 GB, free: 17.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5378/0.6647, allocations: 97.58 MB / 0.904 GB, free: 30.61 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.6651, allocations: 77.11 kB / 0.9041 GB, free: 30.61 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003453/0.6685, allocations: 0.9529 MB / 0.905 GB, free: 30.28 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6686, allocations: 0.6562 kB / 0.905 GB, free: 30.28 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.6686, allocations: 1.719 kB / 0.905 GB, free: 30.28 MB / 458.7 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.0002573/0.6689, allocations: 320.9 kB / 0.9053 GB, free: 29.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.6689, allocations: 12.88 kB / 0.9054 GB, free: 29.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.6691, allocations: 10.17 kB / 0.9054 GB, free: 29.93 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.364e-05/0.6692, allocations: 169.8 kB / 0.9055 GB, free: 29.74 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.6692, allocations: 0 / 0.9055 GB, free: 29.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.6693, allocations: 1.906 kB / 0.9055 GB, free: 29.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.6694, allocations: 39.84 kB / 0.9056 GB, free: 29.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.6694, allocations: 0 / 0.9056 GB, free: 29.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.6695, allocations: 6.078 kB / 0.9056 GB, free: 29.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6695, allocations: 0 / 0.9056 GB, free: 29.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.6696, allocations: 19.78 kB / 0.9056 GB, free: 29.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.6698, allocations: 155 kB / 0.9057 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.67, allocations: 38.33 kB / 0.9058 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.6701, allocations: 19.94 kB / 0.9058 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.6701, allocations: 2.469 kB / 0.9058 GB, free: 29.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.6701, allocations: 35.5 kB / 0.9058 GB, free: 29.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.6702, allocations: 0 / 0.9058 GB, free: 29.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002659/0.6704, allocations: 63.34 kB / 0.9059 GB, free: 29.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.6705, allocations: 51.41 kB / 0.9059 GB, free: 29.33 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.293e-05/0.6705, allocations: 93.3 kB / 0.906 GB, free: 29.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.6705, allocations: 29.64 kB / 0.9061 GB, free: 29.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.6706, allocations: 80.14 kB / 0.9061 GB, free: 29.12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.6706, allocations: 14.34 kB / 0.9061 GB, free: 29.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.6706, allocations: 2.281 kB / 0.9062 GB, free: 29.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6708, allocations: 314.8 kB / 0.9065 GB, free: 28.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.6708, allocations: 2.438 kB / 0.9065 GB, free: 28.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.211e-05/0.6709, allocations: 10.91 kB / 0.9065 GB, free: 28.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.671, allocations: 9.172 kB / 0.9065 GB, free: 28.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.671, allocations: 0 / 0.9065 GB, free: 28.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000154/0.6711, allocations: 51.89 kB / 0.9065 GB, free: 28.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6712, allocations: 3.844 kB / 0.9065 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6712, allocations: 1.438 kB / 0.9065 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6712, allocations: 1.344 kB / 0.9065 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006387/0.6719, allocations: 43.92 kB / 0.9066 GB, free: 28.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.6745, allocations: 1.314 MB / 0.9079 GB, free: 43.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.6745, allocations: 2.797 kB / 0.9079 GB, free: 43.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.6746, allocations: 0 / 0.9079 GB, free: 43.43 MB / 474.7 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 (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 9.139e-05/0.6747, allocations: 111.6 kB / 0.908 GB, free: 43.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.6747, allocations: 5.375 kB / 0.908 GB, free: 43.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.6747, allocations: 9.406 kB / 0.908 GB, free: 43.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6747, allocations: 0 / 0.908 GB, free: 43.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6747, allocations: 8.047 kB / 0.908 GB, free: 43.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.6748, allocations: 0 / 0.908 GB, free: 43.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.6749, allocations: 158.8 kB / 0.9081 GB, free: 43.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6749, allocations: 0 / 0.9081 GB, free: 43.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.6755, allocations: 45.31 kB / 0.9082 GB, free: 43.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6756, allocations: 4 kB / 0.9082 GB, free: 43.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.6756, allocations: 3 kB / 0.9082 GB, free: 43.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6772, allocations: 1.304 MB / 0.9095 GB, free: 41.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6772, allocations: 3.953 kB / 0.9095 GB, free: 41.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/0.6774, allocations: 77.61 kB / 0.9095 GB, free: 41.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.6774, allocations: 81.2 kB / 0.9096 GB, free: 41.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.6774, allocations: 0 / 0.9096 GB, free: 41.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.6775, allocations: 2.438 kB / 0.9096 GB, free: 41.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.6775, allocations: 11.58 kB / 0.9096 GB, free: 41.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.6775, allocations: 4.797 kB / 0.9096 GB, free: 41.59 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.6776, allocations: 79.22 kB / 0.9097 GB, free: 41.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6776, allocations: 0 / 0.9097 GB, free: 41.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.6779, allocations: 5.062 kB / 0.9097 GB, free: 41.52 MB / 474.7 MB 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.0001369/0.678, allocations: 102.9 kB / 0.9098 GB, free: 41.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.6788, allocations: 56.7 kB / 0.9099 GB, free: 41.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6788, allocations: 0 / 0.9099 GB, free: 41.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.6792, allocations: 43.73 kB / 0.9099 GB, free: 41.42 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.6794, allocations: 7.219 kB / 0.9099 GB, free: 41.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003085/0.6797, allocations: 88.78 kB / 0.91 GB, free: 41.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.68, allocations: 0.6771 MB / 0.9107 GB, free: 40.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.828e-05/0.68, allocations: 5.719 kB / 0.9107 GB, free: 40.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.6801, allocations: 12.56 kB / 0.9107 GB, free: 40.61 MB / 474.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6801, allocations: 0 / 0.9107 GB, free: 40.61 MB / 474.7 MB Notification: Performance of Templates: time 0.002667/0.6827, allocations: 378.9 kB / 0.911 GB, free: 40.57 MB / 474.7 MB