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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.348/4.348, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.51e-05, allocations: 3.469 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.155/7.379, allocations: 2.233 GB / 2.862 GB, free: 102 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004128/7.38, allocations: 100.8 kB / 2.862 GB, free: 101.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.182/8.561, allocations: 160.4 MB / 3.019 GB, free: 228.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.114e-06/8.561, allocations: 0 / 3.019 GB, free: 228.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003212/8.561, allocations: 93.38 kB / 3.019 GB, free: 228.6 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.01495/8.576, allocations: 3.466 MB / 3.022 GB, free: 227 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/8.576, allocations: 11.84 kB / 3.022 GB, free: 227 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02126/8.598, allocations: 1.839 MB / 3.024 GB, free: 226.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007031/8.605, allocations: 2.149 MB / 3.026 GB, free: 226.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/8.605, allocations: 125.6 kB / 3.026 GB, free: 226.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002016/8.607, allocations: 229.9 kB / 3.027 GB, free: 226.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0157/8.623, allocations: 4.938 MB / 3.031 GB, free: 226.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/8.643, allocations: 5.008 MB / 3.036 GB, free: 225.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002615/8.643, allocations: 7.906 kB / 3.036 GB, free: 225.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002104/8.645, allocations: 6.406 kB / 3.036 GB, free: 225.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000323/8.645, allocations: 194.8 kB / 3.037 GB, free: 225.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05055/8.696, allocations: 22.04 MB / 3.058 GB, free: 215.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008256/8.704, allocations: 3.432 MB / 3.061 GB, free: 214.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003285/8.708, allocations: 1.555 MB / 3.063 GB, free: 214.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/8.709, allocations: 0.511 MB / 3.063 GB, free: 213.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007536/8.717, allocations: 1.762 MB / 3.065 GB, free: 213 MB / 0.823 GB Notification: Performance of pre-optimization done (n=240): time 1.779e-05/8.717, allocations: 0 / 3.065 GB, free: 213 MB / 0.823 GB Notification: Performance of matching and sorting (n=243): time 0.042/8.759, allocations: 6.278 MB / 3.071 GB, free: 210.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/8.759, allocations: 422.3 kB / 3.072 GB, free: 209.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004148/8.763, allocations: 1.283 MB / 3.073 GB, free: 209.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/8.764, allocations: 33.67 kB / 3.073 GB, free: 209.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002342/8.767, allocations: 1.578 MB / 3.075 GB, free: 207.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/8.769, allocations: 0.7769 MB / 3.075 GB, free: 207.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/8.769, allocations: 0 / 3.075 GB, free: 207.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002692/8.77, allocations: 414.7 kB / 3.076 GB, free: 206.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004992/8.775, allocations: 1.286 MB / 3.077 GB, free: 206.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005977/8.781, allocations: 1.982 MB / 3.079 GB, free: 205 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02972/8.81, allocations: 2.913 MB / 3.082 GB, free: 204.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.177e-05/8.811, allocations: 3.75 kB / 3.082 GB, free: 204.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.03943/8.85, allocations: 4.858 MB / 3.086 GB, free: 201 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002124/8.852, allocations: 7.103 MB / 3.093 GB, free: 193.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/8.852, allocations: 16 kB / 3.093 GB, free: 193.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/8.852, allocations: 32 kB / 3.093 GB, free: 193.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01256/8.865, allocations: 0.8154 MB / 3.094 GB, free: 192.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.216e-05/8.865, allocations: 39.77 kB / 3.094 GB, free: 192.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009267/8.874, allocations: 330.6 kB / 3.095 GB, free: 192.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001711/8.876, allocations: 140.6 kB / 3.095 GB, free: 192.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/8.876, allocations: 4 kB / 3.095 GB, free: 192.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03709/8.913, allocations: 4.398 MB / 3.099 GB, free: 188.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-05/8.914, allocations: 18.11 kB / 3.099 GB, free: 188.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.961e-05/8.914, allocations: 36 kB / 3.099 GB, free: 188.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/8.924, allocations: 0.7811 MB / 3.1 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.06e-05/8.924, allocations: 43.53 kB / 3.1 GB, free: 188.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/8.932, allocations: 295.5 kB / 3.1 GB, free: 187.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/8.934, allocations: 133.7 kB / 3.1 GB, free: 187.7 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 () * 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.001558/8.935, allocations: 176.5 kB / 3.1 GB, free: 187.6 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0344/8.97, allocations: 4.255 MB / 3.105 GB, free: 184 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/8.971, allocations: 213.5 kB / 3.105 GB, free: 183.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03888/9.01, allocations: 4.855 MB / 3.11 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-05/9.01, allocations: 27.61 kB / 3.11 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/9.01, allocations: 7.656 kB / 3.11 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.028e-05/9.01, allocations: 15.14 kB / 3.11 GB, free: 179.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03403/9.044, allocations: 8.645 MB / 3.118 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/9.045, allocations: 0 / 3.118 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007771/9.052, allocations: 0.7221 MB / 3.119 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.115e-05/9.052, allocations: 12 kB / 3.119 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007209/9.053, allocations: 41.72 kB / 3.119 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.798e-05/9.053, allocations: 19.98 kB / 3.119 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/9.053, allocations: 9.266 kB / 3.119 GB, free: 171.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/9.076, allocations: 4.822 MB / 3.124 GB, free: 166.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/9.079, allocations: 0.7589 MB / 3.124 GB, free: 166 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008318/9.08, allocations: 8 kB / 3.124 GB, free: 165.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005655/9.085, allocations: 235.7 kB / 3.125 GB, free: 165.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008263/9.086, allocations: 151.8 kB / 3.125 GB, free: 165.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004939/9.087, allocations: 97.45 kB / 3.125 GB, free: 165.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00232/9.089, allocations: 1.036 MB / 3.126 GB, free: 164.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.8e-07/9.089, allocations: 0 / 3.126 GB, free: 164.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007921/9.097, allocations: 1.188 MB / 3.127 GB, free: 163.3 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 (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.02583/9.123, allocations: 6.454 MB / 3.133 GB, free: 156.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01262/9.136, allocations: 5.106 MB / 3.138 GB, free: 151.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/9.136, allocations: 4.938 kB / 3.138 GB, free: 151.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/9.14, allocations: 1.55 MB / 3.14 GB, free: 150.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/9.144, allocations: 415.4 kB / 3.14 GB, free: 149.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/9.165, allocations: 6.268 MB / 3.146 GB, free: 143.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003201/9.168, allocations: 2.498 MB / 3.149 GB, free: 140.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01169/9.18, allocations: 1.398 MB / 3.15 GB, free: 139.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00427/9.184, allocations: 1.413 MB / 3.151 GB, free: 138.2 MB / 0.823 GB Notification: Performance of SimCode: time 3.396e-06/9.184, allocations: 0 / 3.151 GB, free: 138.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/9.35, allocations: 61.59 MB / 3.212 GB, free: 77.27 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/9.351, allocations: 214 kB / 3.212 GB, free: 76.97 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.131/14.48, allocations: 0 / 3.212 GB, free: 76.97 MB / 0.823 GB