Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002462/0.002462, allocations: 356.5 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.61/1.61, allocations: 165.8 MB / 183.1 MB, free: 5.441 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.703/3.703, allocations: 410.7 MB / 0.6001 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00174/0.00174, allocations: 201.3 kB / 0.6668 GB, free: 6.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 12 kB / 0.7429 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3969, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001564/0.3985, allocations: 1.142 MB / 0.8099 GB, free: 27.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002403/0.3988, allocations: 87.78 kB / 0.8099 GB, free: 27.57 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.3988, allocations: 0 / 0.8099 GB, free: 27.57 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.3989, allocations: 0 / 0.8099 GB, free: 27.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.3989, allocations: 3.938 kB / 0.8099 GB, free: 27.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/0.3991, allocations: 19.91 kB / 0.81 GB, free: 27.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.3992, allocations: 19.94 kB / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.132e-05/0.3993, allocations: 7.984 kB / 0.81 GB, free: 27.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.3993, allocations: 4 kB / 0.81 GB, free: 27.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.822e-05/0.3993, allocations: 15.92 kB / 0.81 GB, free: 27.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.3994, allocations: 4 kB / 0.81 GB, free: 27.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.143e-05/0.3994, allocations: 15.98 kB / 0.81 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-06/0.3995, allocations: 0 / 0.81 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.3995, allocations: 29.64 kB / 0.8101 GB, free: 27.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 7.238e-05/0.3996, allocations: 19.97 kB / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3996, allocations: 0 / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3996, allocations: 0 / 0.8101 GB, free: 27.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3996, allocations: 0 / 0.8101 GB, free: 27.42 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.0004059/0.4, allocations: 353.4 kB / 0.8104 GB, free: 27.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.4001, allocations: 12.02 kB / 0.8104 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.4003, allocations: 11.98 kB / 0.8104 GB, free: 27.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.981e-05/0.4004, allocations: 171 kB / 0.8106 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.4004, allocations: 0 / 0.8106 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.4004, allocations: 0 / 0.8106 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.4007, allocations: 69.66 kB / 0.8107 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4007, allocations: 0 / 0.8107 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.4008, allocations: 3.953 kB / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.4008, allocations: 0 / 0.8107 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.4011, allocations: 67.89 kB / 0.8107 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.4015, allocations: 264.9 kB / 0.811 GB, free: 26.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.4018, allocations: 62.55 kB / 0.811 GB, free: 26.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.402, allocations: 36.89 kB / 0.8111 GB, free: 26.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.4021, allocations: 4 kB / 0.8111 GB, free: 26.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.4021, allocations: 38.52 kB / 0.8111 GB, free: 26.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.465e-06/0.4021, allocations: 0 / 0.8111 GB, free: 26.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0006424/0.4027, allocations: 133.6 kB / 0.8113 GB, free: 26.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.4028, allocations: 55.34 kB / 0.8113 GB, free: 25.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.033e-05/0.4028, allocations: 105.8 kB / 0.8114 GB, free: 25.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.4029, allocations: 25.7 kB / 0.8114 GB, free: 25.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.4029, allocations: 84.14 kB / 0.8115 GB, free: 25.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.4029, allocations: 3.906 kB / 0.8115 GB, free: 25.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.403, allocations: 4.031 kB / 0.8115 GB, free: 25.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.428e-05/0.403, allocations: 314.8 kB / 0.8118 GB, free: 25.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.4032, allocations: 31.97 kB / 0.8118 GB, free: 25.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.4034, allocations: 35.97 kB / 0.8119 GB, free: 25.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.4036, allocations: 27.98 kB / 0.8119 GB, free: 25.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4036, allocations: 0 / 0.8119 GB, free: 25.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004052/0.404, allocations: 101.6 kB / 0.812 GB, free: 25.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.404, allocations: 4 kB / 0.812 GB, free: 25.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4041, allocations: 7.938 kB / 0.812 GB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4041, allocations: 0 / 0.812 GB, free: 25.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4042, allocations: 15.98 kB / 0.812 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4043, allocations: 4.031 kB / 0.812 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4044, allocations: 11.98 kB / 0.812 GB, free: 25.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.4044, allocations: 0 / 0.812 GB, free: 25.19 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.4045, allocations: 109.8 kB / 0.8122 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.4045, allocations: 3.906 kB / 0.8122 GB, free: 25.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.4046, allocations: 7.531 kB / 0.8122 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.4046, allocations: 3.953 kB / 0.8122 GB, free: 25.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4046, allocations: 4 kB / 0.8122 GB, free: 25.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.4046, allocations: 81.11 kB / 0.8122 GB, free: 24.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4047, allocations: 3.984 kB / 0.8123 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.4048, allocations: 8 kB / 0.8123 GB, free: 24.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.4049, allocations: 3.984 kB / 0.8123 GB, free: 24.94 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005599/0.4055, allocations: 185.1 kB / 0.8124 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005505/0.406, allocations: 270.8 kB / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002119/0.4063, allocations: 40 kB / 0.8127 GB, free: 24.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.4063, allocations: 79.28 kB / 0.8128 GB, free: 24.36 MB / 378.7 MB Notification: Performance of Backend: time 5.51e-07/0.4063, allocations: 0 / 0.8128 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.4069, allocations: 121.1 kB / 0.8129 GB, free: 24.23 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003878/0.4073, allocations: 0.5642 MB / 0.8135 GB, free: 23.62 MB / 378.7 MB Notification: Performance of Templates: time 0.003541/0.4109, allocations: 0.855 MB / 0.8143 GB, free: 22.77 MB / 378.7 MB