Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.3 MB / 303.2 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 178.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 0.6306 GB, free: 9.988 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 93.09 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003969, allocations: 12.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2843, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01154/0.2959, allocations: 9.505 MB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8414/1.137, allocations: 129.7 MB / 1.115 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/1.14, allocations: 33.09 kB / 1.115 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009359/1.141, allocations: 176 kB / 1.116 GB, free: 3.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003956/1.145, allocations: 0.8054 MB / 1.116 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004693/1.149, allocations: 1.132 MB / 1.117 GB, free: 3.41 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004768/1.154, allocations: 1.677 MB / 1.119 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004866/1.159, allocations: 2.285 MB / 1.121 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002206/1.161, allocations: 0.8184 MB / 1.122 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/1.164, allocations: 0.8679 MB / 1.123 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003306/1.164, allocations: 67.69 kB / 1.123 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/1.166, allocations: 394.4 kB / 1.123 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005472/1.166, allocations: 451.2 kB / 1.124 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006792/1.167, allocations: 454.1 kB / 1.124 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004021/1.171, allocations: 3.149 MB / 1.127 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.171, allocations: 3.281 kB / 1.127 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/1.171, allocations: 0 / 1.127 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001262/1.171, allocations: 0 / 1.127 GB, free: 1.516 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.006523/1.178, allocations: 2.383 MB / 1.13 GB, free: 15.97 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/1.178, allocations: 13.05 kB / 1.13 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/1.189, allocations: 1.668 MB / 1.131 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/1.193, allocations: 1.397 MB / 1.133 GB, free: 14.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/1.193, allocations: 191.8 kB / 1.133 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000399/1.193, allocations: 258.4 kB / 1.133 GB, free: 14.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008478/1.202, allocations: 3.4 MB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.843e-05/1.202, allocations: 6.281 kB / 1.136 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/1.202, allocations: 102.9 kB / 1.137 GB, free: 13.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/1.202, allocations: 121.3 kB / 1.137 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/1.214, allocations: 3.918 MB / 1.14 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02466/1.238, allocations: 10.05 MB / 1.15 GB, free: 6.926 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01168/1.25, allocations: 2.702 MB / 1.153 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/1.251, allocations: 0.5893 MB / 1.153 GB, free: 5.797 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005759/1.257, allocations: 1.504 MB / 1.155 GB, free: 5.305 MB / 0.698 GB Notification: Performance of pre-optimization done (n=194): time 7.273e-06/1.257, allocations: 0 / 1.155 GB, free: 5.305 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01581/1.273, allocations: 4.271 MB / 1.159 GB, free: 4.047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002405/1.273, allocations: 259.4 kB / 1.159 GB, free: 3.762 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/1.276, allocations: 1.087 MB / 1.16 GB, free: 3.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002814/1.276, allocations: 59.92 kB / 1.16 GB, free: 3.406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/1.277, allocations: 0.9371 MB / 1.161 GB, free: 2.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009821/1.278, allocations: 0.638 MB / 1.162 GB, free: 2.355 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.279, allocations: 35.44 kB / 1.162 GB, free: 2.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002581/1.279, allocations: 373.7 kB / 1.162 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004317/1.283, allocations: 1.051 MB / 1.163 GB, free: 1.438 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004653/1.288, allocations: 1.374 MB / 1.165 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/1.292, allocations: 1.176 MB / 1.166 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.292, allocations: 2.281 kB / 1.166 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01028/1.303, allocations: 2.729 MB / 1.169 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001166/1.304, allocations: 2.472 MB / 1.171 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.304, allocations: 5.5 kB / 1.171 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/1.304, allocations: 17.58 kB / 1.171 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004422/1.308, allocations: 0.5411 MB / 1.172 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.611e-05/1.308, allocations: 21.31 kB / 1.172 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/1.312, allocations: 276 kB / 1.172 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/1.312, allocations: 93.02 kB / 1.172 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.312, allocations: 2.531 kB / 1.172 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009886/1.322, allocations: 2.514 MB / 1.174 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.322, allocations: 4.625 kB / 1.174 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-05/1.322, allocations: 16.23 kB / 1.174 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/1.327, allocations: 0.5345 MB / 1.175 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.442e-05/1.327, allocations: 19.66 kB / 1.175 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/1.33, allocations: 259.2 kB / 1.175 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003469/1.33, allocations: 98.39 kB / 1.175 GB, free: 9.988 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.00234/1.333, allocations: 0.581 MB / 1.176 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009013/1.334, allocations: 170.2 kB / 1.176 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/1.347, allocations: 3.128 MB / 1.179 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.679e-05/1.347, allocations: 20 kB / 1.179 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/1.347, allocations: 1.859 kB / 1.179 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/1.347, allocations: 11.97 kB / 1.179 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.365, allocations: 5.849 MB / 1.185 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.366, allocations: 0 / 1.185 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00416/1.37, allocations: 0.5072 MB / 1.185 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.745e-05/1.37, allocations: 12 kB / 1.185 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/1.37, allocations: 63.94 kB / 1.185 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-05/1.37, allocations: 8 kB / 1.185 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.37, allocations: 3.953 kB / 1.185 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.381, allocations: 2.889 MB / 1.188 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/1.383, allocations: 0.5683 MB / 1.189 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007039/1.384, allocations: 36 kB / 1.189 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003367/1.387, allocations: 215.8 kB / 1.189 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/1.387, allocations: 125.8 kB / 1.189 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002931/1.388, allocations: 75.94 kB / 1.189 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002325/1.39, allocations: 0.7792 MB / 1.19 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.559e-06/1.39, allocations: 0 / 1.19 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004901/1.395, allocations: 0.7752 MB / 1.191 GB, free: 11.21 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.002266/1.397, allocations: 0.6135 MB / 1.191 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.413, allocations: 3.97 MB / 1.195 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-05/1.413, allocations: 1.859 kB / 1.195 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005292/1.418, allocations: 1.359 MB / 1.197 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00325/1.422, allocations: 359.6 kB / 1.197 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.438, allocations: 5.362 MB / 1.202 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.441, allocations: 1.603 MB / 1.204 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.008645/1.45, allocations: 0.7749 MB / 1.204 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/1.452, allocations: 213.1 kB / 1.205 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of SimCode: time 1.543e-06/1.452, allocations: 0 / 1.205 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of Templates: time 0.07328/1.525, allocations: 26.59 MB / 1.231 GB, free: 2.609 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1)