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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.105/4.105, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.156e-05, allocations: 3.797 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2267, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.119/7.346, allocations: 2.234 GB / 2.869 GB, free: 64.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000412/7.346, allocations: 101.3 kB / 2.869 GB, free: 64.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.279/8.625, allocations: 161.2 MB / 3.026 GB, free: 240.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.166e-06/8.626, allocations: 11.94 kB / 3.026 GB, free: 240.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003089/8.626, allocations: 91.88 kB / 3.026 GB, free: 240.7 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.01435/8.64, allocations: 3.45 MB / 3.03 GB, free: 237.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/8.64, allocations: 8.031 kB / 3.03 GB, free: 237.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002673/8.643, allocations: 0.5566 MB / 3.03 GB, free: 237.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02171/8.665, allocations: 1.848 MB / 3.032 GB, free: 235.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007878/8.673, allocations: 2.148 MB / 3.034 GB, free: 233.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000459/8.673, allocations: 299.7 kB / 3.034 GB, free: 232.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002369/8.676, allocations: 387.5 kB / 3.035 GB, free: 232.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/8.697, allocations: 5.562 MB / 3.04 GB, free: 226.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/8.698, allocations: 7.938 kB / 3.04 GB, free: 226.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001858/8.699, allocations: 167.7 kB / 3.04 GB, free: 226.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003253/8.7, allocations: 198.9 kB / 3.041 GB, free: 226.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/8.719, allocations: 5.361 MB / 3.046 GB, free: 221.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05519/8.774, allocations: 22.94 MB / 3.068 GB, free: 196.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/8.785, allocations: 3.548 MB / 3.072 GB, free: 193.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00465/8.789, allocations: 1.625 MB / 3.073 GB, free: 191.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/8.791, allocations: 0.512 MB / 3.074 GB, free: 191.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005863/8.797, allocations: 1.838 MB / 3.075 GB, free: 189.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=240): time 9.548e-06/8.797, allocations: 3.938 kB / 3.076 GB, free: 189.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=243): time 0.01532/8.812, allocations: 5.083 MB / 3.08 GB, free: 184.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/8.812, allocations: 420 kB / 3.081 GB, free: 183.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/8.816, allocations: 1.46 MB / 3.082 GB, free: 182.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009606/8.817, allocations: 69.7 kB / 3.082 GB, free: 182.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001826/8.818, allocations: 1.559 MB / 3.084 GB, free: 180.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001574/8.82, allocations: 0.8078 MB / 3.085 GB, free: 179.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/8.821, allocations: 56 kB / 3.085 GB, free: 179.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002592/8.821, allocations: 403.4 kB / 3.085 GB, free: 179.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004206/8.825, allocations: 1.352 MB / 3.086 GB, free: 177.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005012/8.83, allocations: 2.051 MB / 3.088 GB, free: 175.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005023/8.835, allocations: 1.675 MB / 3.09 GB, free: 173.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-05/8.835, allocations: 8 kB / 3.09 GB, free: 173.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=338) (initialization): time 0.01359/8.849, allocations: 3.803 MB / 3.094 GB, free: 169.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001637/8.851, allocations: 7.15 MB / 3.101 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.338e-05/8.851, allocations: 16 kB / 3.101 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.139e-05/8.851, allocations: 39.98 kB / 3.101 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008639/8.86, allocations: 0.8112 MB / 3.102 GB, free: 161.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.333e-05/8.86, allocations: 43.86 kB / 3.102 GB, free: 161.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006686/8.866, allocations: 386.2 kB / 3.102 GB, free: 161 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/8.868, allocations: 151.8 kB / 3.102 GB, free: 160.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/8.868, allocations: 7.938 kB / 3.102 GB, free: 160.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/8.879, allocations: 3.393 MB / 3.105 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-05/8.879, allocations: 16 kB / 3.106 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.841e-05/8.879, allocations: 36.88 kB / 3.106 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008173/8.888, allocations: 0.7722 MB / 3.106 GB, free: 156.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.483e-05/8.888, allocations: 39.91 kB / 3.106 GB, free: 156.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/8.894, allocations: 358.1 kB / 3.107 GB, free: 156.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/8.895, allocations: 139.9 kB / 3.107 GB, free: 156.1 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.001539/8.897, allocations: 272.2 kB / 3.107 GB, free: 155.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009426/8.898, allocations: 229.2 kB / 3.107 GB, free: 155.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/8.911, allocations: 3.694 MB / 3.111 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/8.911, allocations: 28 kB / 3.111 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/8.911, allocations: 0 / 3.111 GB, free: 151.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-05/8.911, allocations: 11.95 kB / 3.111 GB, free: 151.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/8.938, allocations: 8.201 MB / 3.119 GB, free: 143.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/8.938, allocations: 4.281 kB / 3.119 GB, free: 143.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008066/8.946, allocations: 0.7216 MB / 3.12 GB, free: 142.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-05/8.946, allocations: 12 kB / 3.12 GB, free: 142.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008869/8.947, allocations: 71.89 kB / 3.12 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.485e-05/8.947, allocations: 23.86 kB / 3.12 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/8.947, allocations: 4 kB / 3.12 GB, free: 142.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/8.959, allocations: 3.629 MB / 3.123 GB, free: 139 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002986/8.962, allocations: 0.7744 MB / 3.124 GB, free: 138.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001464/8.963, allocations: 47.98 kB / 3.124 GB, free: 138.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006199/8.969, allocations: 287.6 kB / 3.124 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009208/8.97, allocations: 153.7 kB / 3.125 GB, free: 137.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008058/8.971, allocations: 95.92 kB / 3.125 GB, free: 137.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003282/8.975, allocations: 1.176 MB / 3.126 GB, free: 136.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.172e-06/8.975, allocations: 0 / 3.126 GB, free: 136.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009014/8.984, allocations: 1.343 MB / 3.127 GB, free: 135.1 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.01427/8.998, allocations: 5.325 MB / 3.132 GB, free: 129.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01585/9.014, allocations: 5.337 MB / 3.137 GB, free: 124.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/9.014, allocations: 0 / 3.137 GB, free: 124.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004808/9.019, allocations: 1.604 MB / 3.139 GB, free: 122.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004762/9.024, allocations: 466.2 kB / 3.139 GB, free: 122.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0231/9.047, allocations: 6.496 MB / 3.146 GB, free: 115.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/9.05, allocations: 2.502 MB / 3.148 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01239/9.062, allocations: 1.396 MB / 3.15 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00443/9.067, allocations: 1.413 MB / 3.151 GB, free: 110.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.013e-06/9.067, allocations: 0 / 3.151 GB, free: 110.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1605/9.227, allocations: 64.58 MB / 3.214 GB, free: 46.17 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003068/9.228, allocations: 235.8 kB / 3.214 GB, free: 45.94 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.169/14.4, allocations: 0 / 3.214 GB, free: 45.94 MB / 0.823 GB