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.003908/0.003907, allocations: 358.2 kB / 16.59 MB, free: 5.566 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.392/1.392, allocations: 165.8 MB / 183.1 MB, free: 5.914 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 4.331/4.331, allocations: 410.7 MB / 0.6001 GB, free: 2.105 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001869/0.001869, allocations: 178.8 kB / 0.6668 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004955, allocations: 12 kB / 0.7429 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.504, allocations: 67.44 MB / 0.8087 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001057/0.5052, allocations: 312.1 kB / 0.809 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004012/0.5056, allocations: 88.58 kB / 0.8091 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.5056, allocations: 0 / 0.8091 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.5057, allocations: 0 / 0.8091 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.5057, allocations: 1.641 kB / 0.8091 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.506, allocations: 17 kB / 0.8091 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.5061, allocations: 2.531 kB / 0.8091 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.5061, allocations: 3.016 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.833e-05/0.5062, allocations: 7.938 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.5063, allocations: 2.922 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.5063, allocations: 3.203 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.414e-05/0.5064, allocations: 14.95 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.5065, allocations: 0.5312 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.5065, allocations: 29.92 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.5066, allocations: 8.906 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5066, allocations: 1.406 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.929e-06/0.5067, allocations: 1.922 kB / 0.8092 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5067, allocations: 0 / 0.8092 GB, free: 245.1 MB / 0.5886 GB 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.0003589/0.5071, allocations: 319 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.5071, allocations: 8.281 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.5074, allocations: 10.09 kB / 0.8095 GB, free: 244.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.019e-05/0.5075, allocations: 160.2 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.5076, allocations: 2.125 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.5076, allocations: 1.438 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.5078, allocations: 44.22 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5079, allocations: 2.25 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.5079, allocations: 6.688 kB / 0.8097 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.5079, allocations: 3.125 kB / 0.8098 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.5081, allocations: 10.97 kB / 0.8098 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.5083, allocations: 154.7 kB / 0.8099 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.5087, allocations: 40.92 kB / 0.8099 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5089, allocations: 19.98 kB / 0.81 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5089, allocations: 4.562 kB / 0.81 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.509, allocations: 33.44 kB / 0.81 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.855e-06/0.509, allocations: 0 / 0.81 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004146/0.5094, allocations: 54.73 kB / 0.8101 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.5095, allocations: 60.52 kB / 0.8101 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.911e-05/0.5095, allocations: 93.14 kB / 0.8102 GB, free: 244 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.5095, allocations: 26.98 kB / 0.8102 GB, free: 244 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.956e-05/0.5096, allocations: 81.3 kB / 0.8103 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.5096, allocations: 9.578 kB / 0.8103 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5096, allocations: 0.5938 kB / 0.8103 GB, free: 243.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.5097, allocations: 313.1 kB / 0.8106 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-05/0.5099, allocations: 15.38 kB / 0.8106 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.51, allocations: 5.078 kB / 0.8106 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.5101, allocations: 10.98 kB / 0.8106 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5101, allocations: 3.312 kB / 0.8106 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002697/0.5104, allocations: 46.58 kB / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5104, allocations: 6.062 kB / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5105, allocations: 0.8438 kB / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5105, allocations: 0 / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5116, allocations: 43.61 kB / 0.8107 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.5138, allocations: 1.313 MB / 0.812 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.246e-05/0.5139, allocations: 2.453 kB / 0.812 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.5139, allocations: 2.094 kB / 0.812 GB, free: 242.2 MB / 0.5886 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 (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 7.624e-05/0.514, allocations: 113.8 kB / 0.8121 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.514, allocations: 1.891 kB / 0.8121 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.659e-05/0.5141, allocations: 8.203 kB / 0.8121 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5141, allocations: 0.75 kB / 0.8121 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5141, allocations: 1.156 kB / 0.8121 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.333e-05/0.5141, allocations: 85.66 kB / 0.8122 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-06/0.5141, allocations: 1.766 kB / 0.8122 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.5142, allocations: 1.859 kB / 0.8122 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.5142, allocations: 5.812 kB / 0.8122 GB, free: 241.9 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008019/0.515, allocations: 179.5 kB / 0.8124 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002521/0.5153, allocations: 226.8 kB / 0.8126 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.821e-05/0.5154, allocations: 17.56 kB / 0.8126 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.75e-05/0.5154, allocations: 75.28 kB / 0.8127 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of Backend: time 1.553e-06/0.5154, allocations: 3.938 kB / 0.8127 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.5165, allocations: 136.7 kB / 0.8128 GB, free: 241.5 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0003638/0.5169, allocations: 0.5416 MB / 0.8134 GB, free: 240.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.003511/0.5204, allocations: 0.591 MB / 0.814 GB, free: 240.9 MB / 0.5886 GB