Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.534/2.534, allocations: 287.9 MB / 302.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001445/0.001444, allocations: 181 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.4 MB / 0.6301 GB, free: 10.43 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001016, allocations: 94.45 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004939/0.0004942, allocations: 17.08 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1799, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.02063/0.2006, allocations: 9.494 MB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8095/1.01, allocations: 129.7 MB / 1.115 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/1.013, allocations: 27.88 kB / 1.115 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/1.014, allocations: 175.2 kB / 1.115 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006125/1.02, allocations: 0.8056 MB / 1.116 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007831/1.028, allocations: 1.133 MB / 1.117 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005848/1.034, allocations: 1.669 MB / 1.118 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008851/1.043, allocations: 2.284 MB / 1.121 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/1.046, allocations: 0.8126 MB / 1.121 GB, free: 2.066 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/1.05, allocations: 0.8745 MB / 1.122 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008195/1.051, allocations: 68.38 kB / 1.122 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/1.054, allocations: 390.6 kB / 1.123 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001242/1.055, allocations: 453.7 kB / 1.123 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007892/1.056, allocations: 457.8 kB / 1.124 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/1.06, allocations: 3.15 MB / 1.127 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.173e-06/1.06, allocations: 0 / 1.127 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.92e-06/1.06, allocations: 0 / 1.127 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.982e-05/1.06, allocations: 0 / 1.127 GB, free: 1.418 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.005448/1.065, allocations: 2.383 MB / 1.129 GB, free: 124 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.065, allocations: 8.656 kB / 1.129 GB, free: 124 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/1.078, allocations: 1.673 MB / 1.131 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/1.082, allocations: 1.409 MB / 1.132 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/1.082, allocations: 193.9 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005148/1.083, allocations: 242.2 kB / 1.132 GB, free: 14.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/1.093, allocations: 3.408 MB / 1.136 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.271e-05/1.093, allocations: 2 kB / 1.136 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/1.094, allocations: 106.6 kB / 1.136 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001693/1.094, allocations: 118.3 kB / 1.136 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/1.109, allocations: 3.923 MB / 1.14 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02309/1.132, allocations: 10.04 MB / 1.15 GB, free: 7.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009841/1.142, allocations: 2.707 MB / 1.152 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.143, allocations: 0.5835 MB / 1.153 GB, free: 5.977 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005179/1.148, allocations: 1.511 MB / 1.154 GB, free: 5.477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 6.252e-06/1.148, allocations: 0 / 1.154 GB, free: 5.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01487/1.163, allocations: 4.269 MB / 1.158 GB, free: 4.223 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/1.163, allocations: 254.2 kB / 1.159 GB, free: 3.941 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.165, allocations: 1.091 MB / 1.16 GB, free: 3.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004466/1.165, allocations: 59.23 kB / 1.16 GB, free: 3.582 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/1.166, allocations: 0.9376 MB / 1.161 GB, free: 3.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009579/1.167, allocations: 0.6402 MB / 1.161 GB, free: 2.555 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001966/1.168, allocations: 35.78 kB / 1.161 GB, free: 2.555 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002372/1.168, allocations: 376.5 kB / 1.162 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004201/1.172, allocations: 1.049 MB / 1.163 GB, free: 1.945 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004651/1.177, allocations: 1.373 MB / 1.164 GB, free: 1.039 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/1.181, allocations: 1.16 MB / 1.165 GB, free: 460 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.181, allocations: 0 / 1.165 GB, free: 460 kB / 0.698 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01017/1.191, allocations: 2.737 MB / 1.168 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001401/1.193, allocations: 2.467 MB / 1.17 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.193, allocations: 7.062 kB / 1.17 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.72e-05/1.193, allocations: 15.62 kB / 1.17 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/1.197, allocations: 0.5469 MB / 1.171 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.407e-05/1.197, allocations: 20.77 kB / 1.171 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/1.2, allocations: 273.2 kB / 1.171 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005077/1.201, allocations: 87.55 kB / 1.171 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.201, allocations: 4.188 kB / 1.171 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00947/1.211, allocations: 2.512 MB / 1.174 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/1.211, allocations: 11.47 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.211, allocations: 16 kB / 1.174 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/1.215, allocations: 0.5301 MB / 1.174 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.083e-05/1.215, allocations: 19.67 kB / 1.174 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.218, allocations: 264.7 kB / 1.175 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004439/1.218, allocations: 82.22 kB / 1.175 GB, free: 10.51 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 229 * 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 0.001844/1.22, allocations: 0.5927 MB / 1.175 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/1.221, allocations: 166.1 kB / 1.175 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.232, allocations: 3.129 MB / 1.178 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/1.233, allocations: 24 kB / 1.178 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.233, allocations: 0 / 1.178 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.614e-05/1.233, allocations: 15.95 kB / 1.178 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/1.25, allocations: 5.847 MB / 1.184 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.25, allocations: 0 / 1.184 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004043/1.254, allocations: 0.515 MB / 1.185 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.591e-05/1.254, allocations: 12 kB / 1.185 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000395/1.255, allocations: 59.88 kB / 1.185 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.86e-05/1.255, allocations: 11.95 kB / 1.185 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.467e-06/1.255, allocations: 4 kB / 1.185 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.265, allocations: 2.891 MB / 1.188 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.267, allocations: 0.5606 MB / 1.188 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005404/1.267, allocations: 43.98 kB / 1.188 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002899/1.27, allocations: 211.8 kB / 1.188 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/1.271, allocations: 117.8 kB / 1.188 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/1.271, allocations: 79.94 kB / 1.189 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001699/1.273, allocations: 0.783 MB / 1.189 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.018e-06/1.273, allocations: 0 / 1.189 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004086/1.277, allocations: 0.7751 MB / 1.19 GB, free: 11.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002378/1.279, allocations: 0.6203 MB / 1.191 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01511/1.294, allocations: 3.966 MB / 1.195 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.912e-06/1.294, allocations: 1.75 kB / 1.195 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005245/1.3, allocations: 1.367 MB / 1.196 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/1.302, allocations: 359.3 kB / 1.196 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.316, allocations: 5.362 MB / 1.201 GB, free: 368 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/1.319, allocations: 1.599 MB / 1.203 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006854/1.325, allocations: 0.7807 MB / 1.204 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.327, allocations: 211.3 kB / 1.204 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of SimCode: time 1.602e-06/1.327, allocations: 0 / 1.204 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.06977/1.397, allocations: 26.58 MB / 1.23 GB, free: 3.266 MB / 0.7605 GB