Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009396/0.009395, allocations: 108.5 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001162/0.001162, allocations: 180.2 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.859/1.859, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.227/2.227, allocations: 236.2 MB / 492.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000826/0.0008263, allocations: 16 kB / 0.587 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.6035, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01301/0.6166, allocations: 9.359 MB / 0.6925 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.212/0.8286, allocations: 129.7 MB / 0.8192 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.8303, allocations: 27.88 kB / 0.8192 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.831, allocations: 162.5 kB / 0.8194 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003273/0.8342, allocations: 0.7827 MB / 0.8201 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.8383, allocations: 1.103 MB / 0.8212 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.8418, allocations: 1.663 MB / 0.8228 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00446/0.8463, allocations: 2.264 MB / 0.825 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.8481, allocations: 0.8363 MB / 0.8259 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.8496, allocations: 0.8784 MB / 0.8267 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.8499, allocations: 71.94 kB / 0.8268 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.8511, allocations: 399.5 kB / 0.8272 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000549/0.8517, allocations: 450.1 kB / 0.8276 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.8523, allocations: 460.3 kB / 0.828 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004805/0.8571, allocations: 3.138 MB / 0.8311 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.675e-06/0.8571, allocations: 0 / 0.8311 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.128e-06/0.8572, allocations: 0 / 0.8311 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.457e-05/0.8572, allocations: 3.938 kB / 0.8311 GB, free: 6.703 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 650 * Number of variables: 650 Notification: Performance of Generate backend data structure: time 0.005849/0.8631, allocations: 2.39 MB / 0.8334 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8631, allocations: 8.031 kB / 0.8334 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.8776, allocations: 1.795 MB / 0.8352 GB, free: 2.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/0.8811, allocations: 1.369 MB / 0.8365 GB, free: 1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.8813, allocations: 185 kB / 0.8367 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005827/0.8819, allocations: 244 kB / 0.8369 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.8931, allocations: 3.462 MB / 0.8403 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.911e-05/0.8932, allocations: 7.938 kB / 0.8403 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.8936, allocations: 104 kB / 0.8404 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/0.8938, allocations: 120.5 kB / 0.8405 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.9149, allocations: 4.061 MB / 0.8445 GB, free: 8.676 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03051/0.9455, allocations: 10.11 MB / 0.8544 GB, free: 14.22 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.9565, allocations: 2.843 MB / 0.8572 GB, free: 11.36 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.9576, allocations: 0.5865 MB / 0.8577 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005473/0.9631, allocations: 1.569 MB / 0.8593 GB, free: 9.07 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=194): time 9.378e-06/0.9631, allocations: 0 / 0.8593 GB, free: 9.07 MB / 0.6824 GB Notification: Performance of matching and sorting (n=195): time 0.01604/0.9792, allocations: 4.41 MB / 0.8636 GB, free: 4.645 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.9793, allocations: 227.6 kB / 0.8638 GB, free: 4.371 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.9813, allocations: 1.035 MB / 0.8648 GB, free: 3.324 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.000409/0.9817, allocations: 61.7 kB / 0.8649 GB, free: 3.258 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.000996/0.9828, allocations: 0.9012 MB / 0.8657 GB, free: 2.344 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/0.9836, allocations: 0.6352 MB / 0.8664 GB, free: 1.699 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.9838, allocations: 36 kB / 0.8664 GB, free: 1.664 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0002313/0.984, allocations: 382 kB / 0.8668 GB, free: 1.285 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/0.9885, allocations: 1.116 MB / 0.8679 GB, free: 172 kB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00494/0.9934, allocations: 1.425 MB / 0.8692 GB, free: 14.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004894/0.9984, allocations: 1.274 MB / 0.8705 GB, free: 13.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.129e-06/0.9984, allocations: 0 / 0.8705 GB, free: 13.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0111/1.01, allocations: 2.963 MB / 0.8734 GB, free: 10.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001344/1.011, allocations: 2.507 MB / 0.8758 GB, free: 7.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.011, allocations: 11.98 kB / 0.8758 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.589e-05/1.011, allocations: 19.94 kB / 0.8759 GB, free: 7.629 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0043/1.015, allocations: 0.5578 MB / 0.8764 GB, free: 7.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.281e-05/1.015, allocations: 23.92 kB / 0.8764 GB, free: 7.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/1.018, allocations: 278.6 kB / 0.8767 GB, free: 6.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/1.019, allocations: 99.92 kB / 0.8768 GB, free: 6.676 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.019, allocations: 5.406 kB / 0.8768 GB, free: 6.672 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01026/1.029, allocations: 2.756 MB / 0.8795 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.029, allocations: 8.078 kB / 0.8795 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/1.029, allocations: 12 kB / 0.8795 GB, free: 3.883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/1.033, allocations: 0.5505 MB / 0.88 GB, free: 3.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.314e-05/1.033, allocations: 31.86 kB / 0.8801 GB, free: 3.301 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/1.036, allocations: 262.7 kB / 0.8803 GB, free: 3.043 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.037, allocations: 99.92 kB / 0.8804 GB, free: 2.945 MB / 0.698 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.conTim1.tNext,weaDat.conTim1.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 (231): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 2 * 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.001613/1.038, allocations: 0.5709 MB / 0.881 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/1.039, allocations: 161.9 kB / 0.8811 GB, free: 2.203 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0148/1.054, allocations: 3.228 MB / 0.8843 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/1.054, allocations: 20 kB / 0.8843 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.054, allocations: 3.953 kB / 0.8843 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.046e-05/1.054, allocations: 15.95 kB / 0.8843 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02125/1.075, allocations: 5.961 MB / 0.8901 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.075, allocations: 4 kB / 0.8901 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004064/1.079, allocations: 0.5267 MB / 0.8907 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.33e-05/1.079, allocations: 8 kB / 0.8907 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003034/1.08, allocations: 59.94 kB / 0.8907 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.658e-05/1.08, allocations: 8 kB / 0.8907 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.08, allocations: 0 / 0.8907 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.09, allocations: 2.979 MB / 0.8936 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.092, allocations: 0.588 MB / 0.8942 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/1.092, allocations: 40 kB / 0.8943 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002842/1.095, allocations: 223.7 kB / 0.8945 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/1.095, allocations: 121.8 kB / 0.8946 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/1.096, allocations: 87.91 kB / 0.8947 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001451/1.097, allocations: 0.7348 MB / 0.8954 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-06/1.097, allocations: 0 / 0.8954 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003265/1.1, allocations: 0.7967 MB / 0.8962 GB, free: 2.652 MB / 0.7136 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 206 * 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.002346/1.103, allocations: 0.6486 MB / 0.8968 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.118, allocations: 4.382 MB / 0.9011 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.118, allocations: 0 / 0.9011 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005112/1.124, allocations: 1.402 MB / 0.9024 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.125, allocations: 307.3 kB / 0.9027 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.138, allocations: 5.332 MB / 0.9079 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/1.14, allocations: 1.575 MB / 0.9095 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.006832/1.147, allocations: 0.7977 MB / 0.9103 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.148, allocations: 211.3 kB / 0.9105 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of SimCode: time 1.722e-06/1.148, allocations: 0 / 0.9105 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of Templates: time 0.5511/1.699, allocations: 26.31 MB / 0.9362 GB, free: 204.1 MB / 0.7292 GB