Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00908/0.00908, allocations: 112.3 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.001127/0.001126, allocations: 179.5 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 2.004/2.004, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.284/2.284, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004747, allocations: 23.98 kB / 0.587 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5489, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.02921/0.5781, allocations: 21.74 MB / 0.7046 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2414/0.8195, allocations: 133.6 MB / 0.8351 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.8227, allocations: 63.69 kB / 0.8351 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.8248, allocations: 397 kB / 0.8355 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006115/0.831, allocations: 1.308 MB / 0.8368 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007052/0.838, allocations: 1.801 MB / 0.8385 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006361/0.8444, allocations: 2.895 MB / 0.8414 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.8575, allocations: 6.383 MB / 0.8476 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.8606, allocations: 1.483 MB / 0.8491 GB, free: 4.254 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/0.8639, allocations: 1.673 MB / 0.8507 GB, free: 2.574 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007865/0.8648, allocations: 188 kB / 0.8509 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.8667, allocations: 0.5307 MB / 0.8514 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.8685, allocations: 1.262 MB / 0.8526 GB, free: 0.5938 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.8698, allocations: 0.8004 MB / 0.8534 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009509/0.8793, allocations: 6.623 MB / 0.8599 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.44e-06/0.8794, allocations: 0 / 0.8599 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.091e-06/0.8794, allocations: 0 / 0.8599 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001454/0.8795, allocations: 4 kB / 0.8599 GB, free: 9.141 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: 1142 * Number of variables: 1142 Notification: Performance of Generate backend data structure: time 0.01032/0.8899, allocations: 3.798 MB / 0.8636 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.8899, allocations: 12.02 kB / 0.8636 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03122/0.9212, allocations: 2.121 MB / 0.8657 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.934, allocations: 2.293 MB / 0.8679 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008191/0.9349, allocations: 328.7 kB / 0.8682 GB, free: 452 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/0.9379, allocations: 424 kB / 0.8686 GB, free: 28 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04223/0.9801, allocations: 6.623 MB / 0.8751 GB, free: 9.211 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001298/0.9803, allocations: 7.938 kB / 0.8751 GB, free: 9.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008286/0.9811, allocations: 184 kB / 0.8753 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003197/0.9815, allocations: 227.5 kB / 0.8755 GB, free: 8.801 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/1.005, allocations: 6.676 MB / 0.882 GB, free: 2.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05535/1.06, allocations: 23.85 MB / 0.9053 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.074, allocations: 4.317 MB / 0.9095 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/1.075, allocations: 0.5112 MB / 0.91 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006831/1.082, allocations: 2.092 MB / 0.9121 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=240): time 7.143e-06/1.082, allocations: 4 kB / 0.9121 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=243): time 0.4806/1.563, allocations: 7.302 MB / 0.9192 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.563, allocations: 372 kB / 0.9195 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/1.567, allocations: 1.659 MB / 0.9212 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000551/1.567, allocations: 69.08 kB / 0.9212 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/1.569, allocations: 1.681 MB / 0.9229 GB, free: 203.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001197/1.57, allocations: 0.8095 MB / 0.9237 GB, free: 202.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003033/1.571, allocations: 54.59 kB / 0.9237 GB, free: 202.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.571, allocations: 420 kB / 0.9241 GB, free: 202.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006078/1.577, allocations: 1.605 MB / 0.9257 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0065/1.583, allocations: 2.303 MB / 0.9279 GB, free: 200.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/1.59, allocations: 1.938 MB / 0.9298 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/1.59, allocations: 4.625 kB / 0.9298 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01563/1.606, allocations: 4.36 MB / 0.9341 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001545/1.608, allocations: 7.25 MB / 0.9412 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.652e-05/1.608, allocations: 21.83 kB / 0.9412 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.345e-05/1.608, allocations: 37.62 kB / 0.9412 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005894/1.614, allocations: 0.8234 MB / 0.942 GB, free: 190 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.596e-05/1.614, allocations: 43.77 kB / 0.9421 GB, free: 190 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/1.618, allocations: 390 kB / 0.9424 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000821/1.619, allocations: 144.4 kB / 0.9426 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.619, allocations: 3.781 kB / 0.9426 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/1.633, allocations: 3.942 MB / 0.9464 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-05/1.633, allocations: 18.28 kB / 0.9465 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.277e-05/1.633, allocations: 32.88 kB / 0.9465 GB, free: 188.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005438/1.638, allocations: 0.7827 MB / 0.9472 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.237e-05/1.639, allocations: 42.78 kB / 0.9473 GB, free: 188.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/1.643, allocations: 352.5 kB / 0.9476 GB, free: 188.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007418/1.644, allocations: 141.8 kB / 0.9478 GB, free: 188.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (339): * Single equations (assignments): 337 * 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.003535/1.647, allocations: 1.27 MB / 0.949 GB, free: 187.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/1.648, allocations: 230.1 kB / 0.9492 GB, free: 187.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/1.663, allocations: 4.226 MB / 0.9533 GB, free: 185.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/1.663, allocations: 27.88 kB / 0.9534 GB, free: 185.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/1.663, allocations: 1.625 kB / 0.9534 GB, free: 185.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/1.663, allocations: 12.59 kB / 0.9534 GB, free: 185.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02475/1.688, allocations: 8.99 MB / 0.9622 GB, free: 180.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/1.688, allocations: 11.73 kB / 0.9622 GB, free: 180.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005256/1.693, allocations: 0.7269 MB / 0.9629 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.825e-05/1.694, allocations: 11.28 kB / 0.9629 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000558/1.694, allocations: 70.81 kB / 0.963 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.921e-05/1.694, allocations: 19.27 kB / 0.963 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.686e-06/1.694, allocations: 3.812 kB / 0.963 GB, free: 180.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.707, allocations: 4.183 MB / 0.9671 GB, free: 177.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.709, allocations: 0.7744 MB / 0.9678 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009786/1.71, allocations: 55.95 kB / 0.9679 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/1.714, allocations: 285.2 kB / 0.9682 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/1.715, allocations: 149.7 kB / 0.9683 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000373/1.715, allocations: 95.94 kB / 0.9684 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002174/1.718, allocations: 1.193 MB / 0.9696 GB, free: 175.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.82e-07/1.718, allocations: 0 / 0.9696 GB, free: 175.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00643/1.724, allocations: 1.275 MB / 0.9708 GB, free: 173.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 256 * 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.002386/1.726, allocations: 0.6671 MB / 0.9714 GB, free: 173.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01834/1.745, allocations: 6.086 MB / 0.9774 GB, free: 167.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.745, allocations: 8.188 kB / 0.9774 GB, free: 167.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00558/1.75, allocations: 1.865 MB / 0.9792 GB, free: 165.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/1.754, allocations: 471.7 kB / 0.9797 GB, free: 164.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.771, allocations: 9.004 MB / 0.9885 GB, free: 155.9 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.774, allocations: 2.586 MB / 0.991 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00846/1.783, allocations: 1.291 MB / 0.9922 GB, free: 152 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001799/1.785, allocations: 267.2 kB / 0.9925 GB, free: 151.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.828e-06/1.785, allocations: 0 / 0.9925 GB, free: 151.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.08677/1.871, allocations: 37.91 MB / 1.03 GB, free: 114.1 MB / 0.7292 GB