Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadModel(Buildings): time 3.921/3.921, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.562e-05, allocations: 0 / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.5539, allocations: 98.72 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.624/6.178, allocations: 2.233 GB / 2.862 GB, free: 78.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/6.179, allocations: 108.9 kB / 2.862 GB, free: 78.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.083/7.261, allocations: 183.3 MB / 3.041 GB, free: 232.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.412e-06/7.261, allocations: 0 / 3.041 GB, free: 232.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002974/7.262, allocations: 107.4 kB / 3.041 GB, free: 232 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1121 * Number of variables: 1121 Notification: Performance of Generate backend data structure: time 0.01157/7.273, allocations: 3.672 MB / 3.044 GB, free: 228.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/7.273, allocations: 8.031 kB / 3.044 GB, free: 228.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01539/7.289, allocations: 1.918 MB / 3.046 GB, free: 226.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00658/7.295, allocations: 2.329 MB / 3.049 GB, free: 224 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002406/7.296, allocations: 145 kB / 3.049 GB, free: 223.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/7.297, allocations: 251.9 kB / 3.049 GB, free: 223.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01412/7.312, allocations: 5.241 MB / 3.054 GB, free: 218.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/7.329, allocations: 5.436 MB / 3.059 GB, free: 212.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/7.329, allocations: 15.88 kB / 3.059 GB, free: 212.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/7.331, allocations: 4 kB / 3.059 GB, free: 212.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002495/7.331, allocations: 215.4 kB / 3.06 GB, free: 212.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04388/7.375, allocations: 25.27 MB / 3.084 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007598/7.383, allocations: 3.703 MB / 3.088 GB, free: 182 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003447/7.386, allocations: 1.784 MB / 3.09 GB, free: 180.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000867/7.387, allocations: 0.5122 MB / 3.09 GB, free: 179.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004113/7.391, allocations: 1.956 MB / 3.092 GB, free: 177.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=254): time 7.479e-06/7.391, allocations: 0 / 3.092 GB, free: 177.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=257): time 0.02213/7.413, allocations: 6.812 MB / 3.099 GB, free: 170.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/7.413, allocations: 427.8 kB / 3.099 GB, free: 170.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/7.416, allocations: 1.336 MB / 3.1 GB, free: 169 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006661/7.417, allocations: 29.7 kB / 3.1 GB, free: 168.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001506/7.418, allocations: 1.691 MB / 3.102 GB, free: 167.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/7.419, allocations: 0.8197 MB / 3.103 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/7.42, allocations: 0 / 3.103 GB, free: 166.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001974/7.42, allocations: 415.5 kB / 3.103 GB, free: 166 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/7.423, allocations: 1.399 MB / 3.105 GB, free: 164.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003579/7.426, allocations: 2.091 MB / 3.107 GB, free: 162.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/7.44, allocations: 3.018 MB / 3.11 GB, free: 159.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.944e-05/7.44, allocations: 4 kB / 3.11 GB, free: 159.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01874/7.459, allocations: 5.113 MB / 3.115 GB, free: 154 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001294/7.46, allocations: 6.787 MB / 3.121 GB, free: 146.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-05/7.46, allocations: 16 kB / 3.121 GB, free: 146.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-05/7.46, allocations: 40 kB / 3.121 GB, free: 146.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005811/7.466, allocations: 0.8424 MB / 3.122 GB, free: 145.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.844e-05/7.466, allocations: 43.84 kB / 3.122 GB, free: 145.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/7.47, allocations: 358 kB / 3.123 GB, free: 145.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007438/7.471, allocations: 143.9 kB / 3.123 GB, free: 145.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/7.471, allocations: 4 kB / 3.123 GB, free: 145.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01773/7.489, allocations: 4.536 MB / 3.127 GB, free: 140.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/7.489, allocations: 20.14 kB / 3.127 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.084e-05/7.489, allocations: 36.14 kB / 3.127 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005159/7.494, allocations: 0.7956 MB / 3.128 GB, free: 139.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.173e-05/7.494, allocations: 39.86 kB / 3.128 GB, free: 139.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004023/7.498, allocations: 310.2 kB / 3.128 GB, free: 139.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006142/7.499, allocations: 135.9 kB / 3.128 GB, free: 139.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 346 * 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.0008651/7.5, allocations: 176.2 kB / 3.129 GB, free: 139.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000688/7.501, allocations: 229.2 kB / 3.129 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/7.52, allocations: 5.233 MB / 3.134 GB, free: 133.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/7.52, allocations: 28 kB / 3.134 GB, free: 133.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/7.52, allocations: 0 / 3.134 GB, free: 133.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.517e-05/7.521, allocations: 15.95 kB / 3.134 GB, free: 133.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/7.547, allocations: 9.431 MB / 3.143 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/7.547, allocations: 0 / 3.143 GB, free: 124.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005362/7.553, allocations: 0.7842 MB / 3.144 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.841e-05/7.553, allocations: 16 kB / 3.144 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005465/7.553, allocations: 43.94 kB / 3.144 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.747e-05/7.554, allocations: 19.92 kB / 3.144 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.57e-06/7.554, allocations: 0 / 3.144 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/7.571, allocations: 5.197 MB / 3.149 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/7.573, allocations: 0.8173 MB / 3.15 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007334/7.574, allocations: 4 kB / 3.15 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003804/7.578, allocations: 251.6 kB / 3.15 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/7.578, allocations: 169.8 kB / 3.15 GB, free: 116.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004006/7.579, allocations: 95.94 kB / 3.15 GB, free: 116.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001964/7.581, allocations: 1.074 MB / 3.151 GB, free: 115.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.82e-07/7.581, allocations: 0 / 3.151 GB, free: 115.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00646/7.587, allocations: 1.273 MB / 3.153 GB, free: 114.2 MB / 0.823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 270 * 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.002155/7.589, allocations: 0.5921 MB / 3.153 GB, free: 113.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01122/7.6, allocations: 5.479 MB / 3.159 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/7.601, allocations: 5.688 kB / 3.159 GB, free: 108.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003579/7.604, allocations: 1.737 MB / 3.16 GB, free: 106.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/7.608, allocations: 468.9 kB / 3.161 GB, free: 105.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/7.622, allocations: 6.021 MB / 3.167 GB, free: 99.86 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003184/7.625, allocations: 2.683 MB / 3.169 GB, free: 97.14 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.009525/7.635, allocations: 1.42 MB / 3.171 GB, free: 95.72 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/7.637, allocations: 243.3 kB / 3.171 GB, free: 95.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.806e-06/7.637, allocations: 0 / 3.171 GB, free: 95.48 MB / 0.823 GB Notification: Performance of Templates: time 0.08974/7.727, allocations: 41.39 MB / 3.211 GB, free: 54.36 MB / 0.823 GB