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.002246/0.002245, allocations: 188.1 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7556/0.7556, allocations: 82.92 MB / 99.42 MB, free: 3.215 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.343/2.343, allocations: 205.4 MB / 325.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 102.7 kB / 393.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004773, allocations: 12 kB / 471.5 MB, free: 66.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 67.45 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007147/0.1114, allocations: 320.2 kB / 0.5267 GB, free: 14.72 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.1117, allocations: 81.52 kB / 0.5267 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.127e-05/0.1118, allocations: 0 / 0.5267 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.1118, allocations: 0 / 0.5267 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.1118, allocations: 3.984 kB / 0.5267 GB, free: 14.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.112, allocations: 19.86 kB / 0.5268 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.802e-05/0.1121, allocations: 4 kB / 0.5268 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.1121, allocations: 0 / 0.5268 GB, free: 14.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.1122, allocations: 8 kB / 0.5268 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.1122, allocations: 0 / 0.5268 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.331e-06/0.1123, allocations: 0 / 0.5268 GB, free: 14.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.399e-05/0.1123, allocations: 15.98 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.1124, allocations: 7.984 kB / 0.5268 GB, free: 14.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1124, allocations: 25.7 kB / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 5.441e-05/0.1125, allocations: 7.984 kB / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.003e-06/0.1125, allocations: 0 / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.067e-06/0.1125, allocations: 0 / 0.5268 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.852e-06/0.1125, allocations: 0 / 0.5268 GB, free: 14.55 MB / 378.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.0003646/0.1129, allocations: 315.4 kB / 0.5271 GB, free: 14.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1129, allocations: 12.03 kB / 0.5271 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.1131, allocations: 15.92 kB / 0.5272 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.1132, allocations: 159.1 kB / 0.5273 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1133, allocations: 0 / 0.5273 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.1133, allocations: 8 kB / 0.5273 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.1134, allocations: 33.69 kB / 0.5274 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1135, allocations: 0 / 0.5274 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1135, allocations: 3.953 kB / 0.5274 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1135, allocations: 0 / 0.5274 GB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.1136, allocations: 23.97 kB / 0.5274 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.1138, allocations: 153.9 kB / 0.5275 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.114, allocations: 42.53 kB / 0.5276 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.114, allocations: 0 / 0.5276 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.1141, allocations: 38.56 kB / 0.5276 GB, free: 13.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.912e-06/0.1141, allocations: 4 kB / 0.5276 GB, free: 13.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002478/0.1143, allocations: 49.77 kB / 0.5277 GB, free: 13.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1144, allocations: 67.23 kB / 0.5277 GB, free: 13.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.826e-05/0.1145, allocations: 89.86 kB / 0.5278 GB, free: 13.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.1145, allocations: 29.7 kB / 0.5278 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.1146, allocations: 80.14 kB / 0.5279 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1146, allocations: 7.844 kB / 0.5279 GB, free: 13.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.1146, allocations: 0 / 0.5279 GB, free: 13.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1148, allocations: 314.8 kB / 0.5282 GB, free: 12.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.1148, allocations: 11.98 kB / 0.5282 GB, free: 12.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.795e-05/0.1149, allocations: 4 kB / 0.5282 GB, free: 12.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.115, allocations: 7.984 kB / 0.5282 GB, free: 12.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-06/0.115, allocations: 0 / 0.5282 GB, free: 12.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001587/0.1152, allocations: 49.69 kB / 0.5283 GB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1152, allocations: 4.625 kB / 0.5283 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1152, allocations: 336 / 0.5283 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1152, allocations: 0 / 0.5283 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.1156, allocations: 51.86 kB / 0.5283 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.1174, allocations: 1.317 MB / 0.5296 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.196e-05/0.1174, allocations: 4.25 kB / 0.5296 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1175, allocations: 8.031 kB / 0.5296 GB, free: 11.33 MB / 378.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 0.0001046/0.1176, allocations: 113.8 kB / 0.5297 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.1176, allocations: 0 / 0.5297 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.1176, allocations: 7.5 kB / 0.5298 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-06/0.1177, allocations: 0 / 0.5298 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-06/0.1177, allocations: 4 kB / 0.5298 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-06/0.1177, allocations: 3.953 kB / 0.5298 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1178, allocations: 145.7 kB / 0.5299 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-06/0.1178, allocations: 8 kB / 0.5299 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.1183, allocations: 43.94 kB / 0.53 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.96e-06/0.1183, allocations: 0 / 0.53 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1183, allocations: 3.984 kB / 0.53 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.1199, allocations: 1.314 MB / 0.5312 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.258e-06/0.12, allocations: 0 / 0.5312 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1202, allocations: 81.06 kB / 0.5313 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.1202, allocations: 81.05 kB / 0.5314 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.1202, allocations: 48 / 0.5314 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.1203, allocations: 12.17 kB / 0.5314 GB, free: 9.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.1203, allocations: 3.984 kB / 0.5314 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.665e-06/0.1203, allocations: 0 / 0.5314 GB, free: 9.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.449e-05/0.1204, allocations: 75.28 kB / 0.5315 GB, free: 9.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.1204, allocations: 3.938 kB / 0.5315 GB, free: 9.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.1207, allocations: 7.953 kB / 0.5315 GB, free: 9.199 MB / 378.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.000142/0.1208, allocations: 99.25 kB / 0.5316 GB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.1214, allocations: 67.84 kB / 0.5317 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.101e-06/0.1214, allocations: 0 / 0.5317 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.1217, allocations: 39.95 kB / 0.5317 GB, free: 8.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.1218, allocations: 5.031 kB / 0.5317 GB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.1221, allocations: 90.95 kB / 0.5318 GB, free: 8.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.1225, allocations: 0.6809 MB / 0.5324 GB, free: 8.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.759e-05/0.1225, allocations: 7.984 kB / 0.5325 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1226, allocations: 7.438 kB / 0.5325 GB, free: 8.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1226, allocations: 4 kB / 0.5325 GB, free: 8.141 MB / 378.7 MB Notification: Performance of Templates: time 0.002638/0.1252, allocations: 382 kB / 0.5328 GB, free: 7.77 MB / 378.7 MB