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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.251/4.251, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.657e-05/4.688e-05, allocations: 4.938 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.109/7.336, allocations: 2.233 GB / 2.868 GB, free: 67.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003572/7.336, allocations: 101.6 kB / 2.868 GB, free: 67.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.403/8.74, allocations: 183.9 MB / 3.048 GB, free: 222 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.525e-06/8.74, allocations: 3.938 kB / 3.048 GB, free: 221.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003534/8.74, allocations: 99.83 kB / 3.048 GB, free: 221.9 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.0155/8.756, allocations: 3.674 MB / 3.051 GB, free: 218.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/8.756, allocations: 12.03 kB / 3.052 GB, free: 218.1 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002892/8.759, allocations: 0.5927 MB / 3.052 GB, free: 217.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02276/8.782, allocations: 1.921 MB / 3.054 GB, free: 215.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00817/8.79, allocations: 2.336 MB / 3.056 GB, free: 213.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/8.79, allocations: 321.1 kB / 3.057 GB, free: 212.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/8.792, allocations: 422.1 kB / 3.057 GB, free: 212.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/8.814, allocations: 6.042 MB / 3.063 GB, free: 206.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001798/8.814, allocations: 11.88 kB / 3.063 GB, free: 206.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001317/8.815, allocations: 182.2 kB / 3.063 GB, free: 206 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003571/8.816, allocations: 215.4 kB / 3.063 GB, free: 205.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/8.835, allocations: 5.716 MB / 3.069 GB, free: 200.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05871/8.893, allocations: 26.27 MB / 3.094 GB, free: 172.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/8.904, allocations: 3.837 MB / 3.098 GB, free: 168.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004689/8.909, allocations: 1.859 MB / 3.1 GB, free: 166.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001246/8.91, allocations: 0.5177 MB / 3.101 GB, free: 166.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005373/8.915, allocations: 2.03 MB / 3.103 GB, free: 164 MB / 0.823 GB Notification: Performance of pre-optimization done (n=254): time 6.553e-06/8.916, allocations: 3.938 kB / 3.103 GB, free: 164 MB / 0.823 GB Notification: Performance of matching and sorting (n=257): time 0.01465/8.93, allocations: 5.634 MB / 3.108 GB, free: 158.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/8.93, allocations: 415.5 kB / 3.108 GB, free: 157.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/8.934, allocations: 1.524 MB / 3.11 GB, free: 156.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009936/8.935, allocations: 73.7 kB / 3.11 GB, free: 156.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001945/8.937, allocations: 1.684 MB / 3.112 GB, free: 154.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/8.938, allocations: 0.848 MB / 3.112 GB, free: 153.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/8.939, allocations: 56 kB / 3.113 GB, free: 153.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000207/8.939, allocations: 415.7 kB / 3.113 GB, free: 153.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/8.943, allocations: 1.454 MB / 3.114 GB, free: 151.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/8.948, allocations: 2.163 MB / 3.116 GB, free: 149.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00476/8.952, allocations: 1.787 MB / 3.118 GB, free: 147.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/8.952, allocations: 8 kB / 3.118 GB, free: 147.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01245/8.965, allocations: 4.055 MB / 3.122 GB, free: 143.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001674/8.967, allocations: 6.838 MB / 3.129 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/8.967, allocations: 16 kB / 3.129 GB, free: 136.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.289e-05/8.967, allocations: 32 kB / 3.129 GB, free: 136 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009256/8.976, allocations: 0.8463 MB / 3.13 GB, free: 135.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.488e-05/8.976, allocations: 43.86 kB / 3.13 GB, free: 135.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006879/8.983, allocations: 418 kB / 3.13 GB, free: 134.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/8.984, allocations: 139.9 kB / 3.13 GB, free: 134.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/8.984, allocations: 4 kB / 3.13 GB, free: 134.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0102/8.994, allocations: 3.536 MB / 3.134 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/8.995, allocations: 16.94 kB / 3.134 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-05/8.995, allocations: 36 kB / 3.134 GB, free: 131 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008471/9.003, allocations: 0.7956 MB / 3.135 GB, free: 130.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.006e-05/9.003, allocations: 39.86 kB / 3.135 GB, free: 130.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/9.01, allocations: 358.2 kB / 3.135 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/9.011, allocations: 139.9 kB / 3.135 GB, free: 129.6 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.001352/9.012, allocations: 272.2 kB / 3.135 GB, free: 129.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009846/9.013, allocations: 241 kB / 3.136 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/9.027, allocations: 4.095 MB / 3.14 GB, free: 125 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/9.027, allocations: 28 kB / 3.14 GB, free: 124.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/9.027, allocations: 0 / 3.14 GB, free: 124.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.004e-05/9.027, allocations: 15.89 kB / 3.14 GB, free: 124.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02544/9.052, allocations: 9.057 MB / 3.148 GB, free: 115.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/9.052, allocations: 4.281 kB / 3.148 GB, free: 115.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008719/9.061, allocations: 0.7956 MB / 3.149 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/9.061, allocations: 15.95 kB / 3.149 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008123/9.062, allocations: 75.94 kB / 3.149 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.93e-05/9.062, allocations: 8 kB / 3.149 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/9.062, allocations: 4 kB / 3.149 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/9.073, allocations: 4.01 MB / 3.153 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003244/9.076, allocations: 0.8289 MB / 3.154 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001599/9.078, allocations: 51.98 kB / 3.154 GB, free: 109.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00658/9.084, allocations: 299.6 kB / 3.154 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008772/9.085, allocations: 161.8 kB / 3.155 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004934/9.086, allocations: 95.92 kB / 3.155 GB, free: 109.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003051/9.089, allocations: 1.238 MB / 3.156 GB, free: 108 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.204e-06/9.089, allocations: 0 / 3.156 GB, free: 108 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008817/9.098, allocations: 1.433 MB / 3.157 GB, free: 106.5 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.01353/9.111, allocations: 5.707 MB / 3.163 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01626/9.128, allocations: 5.723 MB / 3.168 GB, free: 95.03 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/9.128, allocations: 4.438 kB / 3.168 GB, free: 95.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005053/9.133, allocations: 1.788 MB / 3.17 GB, free: 93.23 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/9.138, allocations: 0.517 MB / 3.171 GB, free: 92.72 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/9.163, allocations: 7.137 MB / 3.178 GB, free: 85.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004021/9.167, allocations: 2.687 MB / 3.18 GB, free: 82.79 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01233/9.179, allocations: 1.424 MB / 3.182 GB, free: 81.36 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004954/9.184, allocations: 1.546 MB / 3.183 GB, free: 79.82 MB / 0.823 GB Notification: Performance of SimCode: time 1.242e-06/9.184, allocations: 0 / 3.183 GB, free: 79.82 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1738/9.358, allocations: 69.77 MB / 3.251 GB, free: 10.45 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/9.358, allocations: 228.1 kB / 3.252 GB, free: 10.23 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.376/14.73, allocations: 0 / 3.252 GB, free: 10.23 MB / 0.823 GB