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.01751/0.01752, allocations: 220.3 kB / 15.17 MB, free: 6 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.001762/0.001763, allocations: 175.6 kB / 16.06 MB, free: 5.871 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 3.418/3.418, allocations: 389 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.112/4.112, allocations: 472.3 MB / 0.9018 GB, free: 87.59 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004911, allocations: 16.47 kB / 1.008 GB, free: 37.4 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 98.72 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03559/0.1944, allocations: 22.28 MB / 1.126 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.7427/0.9371, allocations: 142.6 MB / 1.265 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.9403, allocations: 60.59 kB / 1.265 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.9422, allocations: 388.7 kB / 1.266 GB, free: 6.684 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.9481, allocations: 1.398 MB / 1.267 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.006914/0.9551, allocations: 1.822 MB / 1.269 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008251/0.9633, allocations: 5.895 MB / 1.274 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01282/0.9762, allocations: 6.375 MB / 1.281 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.9796, allocations: 1.599 MB / 1.282 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/0.9836, allocations: 2.174 MB / 1.284 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/0.9848, allocations: 186.2 kB / 1.285 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.9876, allocations: 0.5653 MB / 1.285 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002245/0.9899, allocations: 1.334 MB / 1.286 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.9916, allocations: 0.8002 MB / 1.287 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01851/1.01, allocations: 7.18 MB / 1.294 GB, free: 0 / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.32e-06/1.01, allocations: 128 / 1.294 GB, free: 0 / 0.6355 GB Notification: Performance of FrontEnd: time 6.429e-06/1.01, allocations: 8.031 kB / 1.294 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002495/1.011, allocations: 0 / 1.294 GB, free: 15.99 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: 1142 * Number of variables: 1142 Notification: Performance of Generate backend data structure: time 0.01594/1.027, allocations: 3.787 MB / 1.298 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.027, allocations: 14.28 kB / 1.298 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01587/1.042, allocations: 2.124 MB / 1.3 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/1.048, allocations: 2.29 MB / 1.302 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/1.049, allocations: 332.7 kB / 1.303 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/1.05, allocations: 423.3 kB / 1.303 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/1.069, allocations: 6.66 MB / 1.309 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/1.07, allocations: 9.438 kB / 1.309 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007306/1.07, allocations: 182.5 kB / 1.31 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002635/1.071, allocations: 229.1 kB / 1.31 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/1.091, allocations: 6.675 MB / 1.316 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04714/1.138, allocations: 23.84 MB / 1.34 GB, free: 5.844 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02115/1.159, allocations: 4.292 MB / 1.344 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009811/1.169, allocations: 1.904 MB / 1.346 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/1.17, allocations: 0.5065 MB / 1.346 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006678/1.177, allocations: 2.11 MB / 1.348 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=240): time 7.203e-06/1.177, allocations: 0 / 1.348 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=243): time 0.0218/1.199, allocations: 7.312 MB / 1.355 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002271/1.199, allocations: 362.6 kB / 1.356 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/1.202, allocations: 1.66 MB / 1.357 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005718/1.203, allocations: 68.89 kB / 1.357 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001907/1.205, allocations: 1.682 MB / 1.359 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/1.207, allocations: 0.8098 MB / 1.36 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006038/1.208, allocations: 61.56 kB / 1.36 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000519/1.208, allocations: 414.2 kB / 1.36 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009549/1.218, allocations: 1.626 MB / 1.362 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007584/1.225, allocations: 2.327 MB / 1.364 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00642/1.232, allocations: 1.958 MB / 1.366 GB, free: 15.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-05/1.232, allocations: 8 kB / 1.366 GB, free: 15.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01484/1.247, allocations: 4.401 MB / 1.37 GB, free: 11.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006123/1.247, allocations: 0.6706 MB / 1.371 GB, free: 10.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/1.247, allocations: 20 kB / 1.371 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.683e-05/1.248, allocations: 39.95 kB / 1.371 GB, free: 10.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005798/1.253, allocations: 0.8345 MB / 1.372 GB, free: 9.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.389e-05/1.253, allocations: 39.92 kB / 1.372 GB, free: 9.426 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004242/1.258, allocations: 398.7 kB / 1.372 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006965/1.258, allocations: 147.9 kB / 1.372 GB, free: 8.891 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.258, allocations: 4 kB / 1.372 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01322/1.272, allocations: 3.988 MB / 1.376 GB, free: 4.844 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.101e-05/1.272, allocations: 16 kB / 1.376 GB, free: 4.828 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.992e-05/1.272, allocations: 36 kB / 1.376 GB, free: 4.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005426/1.277, allocations: 0.7961 MB / 1.377 GB, free: 3.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.179e-05/1.277, allocations: 43.86 kB / 1.377 GB, free: 3.953 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/1.281, allocations: 354.2 kB / 1.378 GB, free: 3.605 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006548/1.282, allocations: 147.8 kB / 1.378 GB, free: 3.461 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 345 * 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.003555/1.286, allocations: 1.277 MB / 1.379 GB, free: 2.172 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007497/1.286, allocations: 230.9 kB / 1.379 GB, free: 1.945 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01583/1.302, allocations: 4.219 MB / 1.383 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/1.302, allocations: 24 kB / 1.383 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.302, allocations: 7.938 kB / 1.383 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.698e-05/1.302, allocations: 11.95 kB / 1.383 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.327, allocations: 8.974 MB / 1.392 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.327, allocations: 7.984 kB / 1.392 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005199/1.332, allocations: 0.7294 MB / 1.393 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-05/1.332, allocations: 12 kB / 1.393 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005546/1.333, allocations: 67.94 kB / 1.393 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/1.333, allocations: 15.98 kB / 1.393 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.847e-06/1.333, allocations: 11.94 kB / 1.393 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/1.346, allocations: 4.007 MB / 1.397 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.348, allocations: 0.7861 MB / 1.398 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006803/1.349, allocations: 45.97 kB / 1.398 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/1.353, allocations: 289.8 kB / 1.398 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/1.353, allocations: 157.8 kB / 1.398 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003928/1.354, allocations: 95.92 kB / 1.398 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002504/1.356, allocations: 1.185 MB / 1.399 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.58e-07/1.356, allocations: 0 / 1.399 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006262/1.362, allocations: 1.285 MB / 1.401 GB, free: 11.82 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.002446/1.365, allocations: 0.6843 MB / 1.401 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01918/1.384, allocations: 6.149 MB / 1.407 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.084e-06/1.384, allocations: 4 kB / 1.407 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.006033/1.39, allocations: 1.87 MB / 1.409 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.394, allocations: 0.4988 MB / 1.41 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/1.416, allocations: 9.017 MB / 1.418 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004148/1.42, allocations: 2.586 MB / 1.421 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.008914/1.429, allocations: 1.291 MB / 1.422 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/1.431, allocations: 263.2 kB / 1.422 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of SimCode: time 2.202e-06/1.431, allocations: 0 / 1.422 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of Templates: time 0.09661/1.527, allocations: 37.95 MB / 1.459 GB, free: 15.94 MB / 0.7917 GB