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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01071/0.01071, allocations: 107.2 kB / 15.05 MB, free: 6.051 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.001185/0.001185, allocations: 186.5 kB / 15.95 MB, free: 5.977 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.306/2.306, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.274/2.274, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005145, allocations: 16 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6704, allocations: 98.72 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.443/8.113, allocations: 2.224 GB / 2.907 GB, free: 168.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/8.114, allocations: 106.4 kB / 2.907 GB, free: 168.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6266/8.74, allocations: 161.9 MB / 3.065 GB, free: 15.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.717e-06/8.741, allocations: 4 kB / 3.065 GB, free: 15.86 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003113/8.741, allocations: 91.94 kB / 3.066 GB, free: 15.77 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: 1038 * Number of variables: 1038 Notification: Performance of Generate backend data structure: time 0.01469/8.756, allocations: 3.707 MB / 3.069 GB, free: 11.98 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/8.756, allocations: 11.97 kB / 3.069 GB, free: 11.97 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002543/8.758, allocations: 0.5553 MB / 3.07 GB, free: 11.41 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03056/8.789, allocations: 1.84 MB / 3.072 GB, free: 9.562 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/8.799, allocations: 2.16 MB / 3.074 GB, free: 7.348 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005214/8.8, allocations: 295.9 kB / 3.074 GB, free: 7.059 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/8.802, allocations: 391.9 kB / 3.074 GB, free: 6.676 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03514/8.838, allocations: 6.028 MB / 3.08 GB, free: 472 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002838/8.838, allocations: 19.84 kB / 3.08 GB, free: 452 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002154/8.84, allocations: 168 kB / 3.08 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004068/8.841, allocations: 190.9 kB / 3.081 GB, free: 92 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7148/9.555, allocations: 6.219 MB / 3.087 GB, free: 213.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05963/9.615, allocations: 22.94 MB / 3.109 GB, free: 203.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02032/9.636, allocations: 4.155 MB / 3.113 GB, free: 203.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001358/9.637, allocations: 0.5099 MB / 3.114 GB, free: 203 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009482/9.646, allocations: 2.105 MB / 3.116 GB, free: 202.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=240): time 1.185e-05/9.647, allocations: 3.25 kB / 3.116 GB, free: 202.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=243): time 0.03402/9.681, allocations: 7.129 MB / 3.123 GB, free: 201.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/9.681, allocations: 419.7 kB / 3.123 GB, free: 200.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003999/9.685, allocations: 1.479 MB / 3.124 GB, free: 200.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001057/9.686, allocations: 68.86 kB / 3.125 GB, free: 200.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002062/9.688, allocations: 1.565 MB / 3.126 GB, free: 200 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001722/9.69, allocations: 0.8078 MB / 3.127 GB, free: 199.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005544/9.69, allocations: 53.53 kB / 3.127 GB, free: 199.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000253/9.691, allocations: 408.2 kB / 3.127 GB, free: 199.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008296/9.699, allocations: 1.615 MB / 3.129 GB, free: 199.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009503/9.709, allocations: 2.324 MB / 3.131 GB, free: 198.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008924/9.718, allocations: 1.939 MB / 3.133 GB, free: 198.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.053e-05/9.718, allocations: 3.375 kB / 3.133 GB, free: 198.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01977/9.737, allocations: 4.362 MB / 3.137 GB, free: 198 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001707/9.739, allocations: 7.14 MB / 3.144 GB, free: 190.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-05/9.739, allocations: 20.66 kB / 3.144 GB, free: 190.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/9.739, allocations: 33.91 kB / 3.144 GB, free: 190.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008538/9.748, allocations: 0.8132 MB / 3.145 GB, free: 190.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.711e-05/9.748, allocations: 44.58 kB / 3.145 GB, free: 190.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006694/9.755, allocations: 395.2 kB / 3.146 GB, free: 190.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/9.756, allocations: 139.6 kB / 3.146 GB, free: 190.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/9.756, allocations: 3.938 kB / 3.146 GB, free: 190.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01922/9.775, allocations: 3.941 MB / 3.149 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.776e-05/9.775, allocations: 17.84 kB / 3.15 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.424e-05/9.775, allocations: 33.91 kB / 3.15 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008134/9.783, allocations: 0.7704 MB / 3.15 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.913e-05/9.784, allocations: 51.61 kB / 3.15 GB, free: 189.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006196/9.79, allocations: 334.5 kB / 3.151 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/9.791, allocations: 144.4 kB / 3.151 GB, free: 189.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (338): * Single equations (assignments): 336 * 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.004261/9.795, allocations: 1.24 MB / 3.152 GB, free: 188.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/9.796, allocations: 227.2 kB / 3.152 GB, free: 188.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02146/9.818, allocations: 4.23 MB / 3.156 GB, free: 187 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/9.818, allocations: 23.59 kB / 3.156 GB, free: 187 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/9.818, allocations: 0 / 3.156 GB, free: 187 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/9.818, allocations: 14.27 kB / 3.156 GB, free: 187 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03282/9.851, allocations: 8.753 MB / 3.165 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.96e-05/9.851, allocations: 0 / 3.165 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007969/9.859, allocations: 0.7218 MB / 3.166 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.198e-05/9.859, allocations: 12.84 kB / 3.166 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008249/9.86, allocations: 69.09 kB / 3.166 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.142e-05/9.86, allocations: 14.75 kB / 3.166 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/9.86, allocations: 6.094 kB / 3.166 GB, free: 183.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01846/9.878, allocations: 4.175 MB / 3.17 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00286/9.881, allocations: 0.7689 MB / 3.171 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/9.883, allocations: 47.36 kB / 3.171 GB, free: 180.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006033/9.889, allocations: 284.8 kB / 3.171 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008565/9.89, allocations: 150.1 kB / 3.171 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000716/9.89, allocations: 88.7 kB / 3.171 GB, free: 180.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003272/9.894, allocations: 1.206 MB / 3.172 GB, free: 180.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.042e-06/9.894, allocations: 4 kB / 3.172 GB, free: 180.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008954/9.903, allocations: 1.339 MB / 3.174 GB, free: 180 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) * 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.02094/9.924, allocations: 5.906 MB / 3.179 GB, free: 176.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0262/9.95, allocations: 6.095 MB / 3.185 GB, free: 174.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/9.95, allocations: 0 / 3.185 GB, free: 174.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00821/9.958, allocations: 1.874 MB / 3.187 GB, free: 173.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/9.963, allocations: 469.4 kB / 3.188 GB, free: 173.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/9.996, allocations: 23.28 MB / 3.21 GB, free: 154.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004345/10, allocations: 2.503 MB / 3.213 GB, free: 153.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01121/10.01, allocations: 1.269 MB / 3.214 GB, free: 153.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004963/10.02, allocations: 1.439 MB / 3.215 GB, free: 152.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.132e-06/10.02, allocations: 0 / 3.215 GB, free: 152.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/10.21, allocations: 61.32 MB / 3.275 GB, free: 114.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/10.22, allocations: 260.8 kB / 3.276 GB, free: 114.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.239/15.45, allocations: 7.938 kB / 3.276 GB, free: 114.2 MB / 0.823 GB