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/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,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.431/4.431, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.595e-05/2.597e-05, allocations: 5.531 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.229, allocations: 98.73 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.192/7.421, allocations: 2.233 GB / 2.862 GB, free: 102 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/7.422, allocations: 107.5 kB / 2.862 GB, free: 101.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.349/8.771, allocations: 183 MB / 3.04 GB, free: 235.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.665e-06/8.771, allocations: 0 / 3.04 GB, free: 235.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003441/8.772, allocations: 102.8 kB / 3.041 GB, free: 235.5 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.01528/8.787, allocations: 3.674 MB / 3.044 GB, free: 233.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/8.787, allocations: 10.12 kB / 3.044 GB, free: 233.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/8.809, allocations: 1.919 MB / 3.046 GB, free: 233.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007705/8.817, allocations: 2.335 MB / 3.048 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002831/8.817, allocations: 141.3 kB / 3.048 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/8.819, allocations: 247.1 kB / 3.049 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01734/8.837, allocations: 5.242 MB / 3.054 GB, free: 233 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/8.856, allocations: 5.439 MB / 3.059 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/8.856, allocations: 12.94 kB / 3.059 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009161/8.857, allocations: 7.219 kB / 3.059 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003088/8.858, allocations: 214.4 kB / 3.059 GB, free: 232.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05683/8.914, allocations: 25.26 MB / 3.084 GB, free: 210.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009705/8.924, allocations: 3.709 MB / 3.088 GB, free: 206.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004314/8.929, allocations: 1.781 MB / 3.089 GB, free: 204.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/8.93, allocations: 0.5143 MB / 3.09 GB, free: 204 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00494/8.935, allocations: 1.952 MB / 3.092 GB, free: 202.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=254): time 7.504e-06/8.935, allocations: 0 / 3.092 GB, free: 202.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=257): time 0.02926/8.964, allocations: 6.819 MB / 3.098 GB, free: 195.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/8.964, allocations: 419.7 kB / 3.099 GB, free: 194.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/8.967, allocations: 1.344 MB / 3.1 GB, free: 193.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00102/8.968, allocations: 29.7 kB / 3.1 GB, free: 193.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001969/8.97, allocations: 1.671 MB / 3.102 GB, free: 191.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/8.972, allocations: 0.8236 MB / 3.103 GB, free: 190.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/8.973, allocations: 0 / 3.103 GB, free: 190.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002353/8.973, allocations: 415.5 kB / 3.103 GB, free: 190.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/8.976, allocations: 1.403 MB / 3.104 GB, free: 189 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004575/8.981, allocations: 2.093 MB / 3.106 GB, free: 186.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/9, allocations: 3.01 MB / 3.109 GB, free: 183.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.54e-05/9, allocations: 8 kB / 3.109 GB, free: 183.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.02633/9.027, allocations: 5.11 MB / 3.114 GB, free: 178.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001498/9.028, allocations: 6.794 MB / 3.121 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.288e-05/9.028, allocations: 21.78 kB / 3.121 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.071e-05/9.029, allocations: 32 kB / 3.121 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008718/9.037, allocations: 0.8541 MB / 3.122 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-05/9.037, allocations: 43.86 kB / 3.122 GB, free: 170.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00676/9.044, allocations: 350.1 kB / 3.122 GB, free: 169.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/9.045, allocations: 139.8 kB / 3.122 GB, free: 169.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/9.045, allocations: 4 kB / 3.122 GB, free: 169.8 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02448/9.07, allocations: 4.54 MB / 3.127 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.687e-05/9.07, allocations: 20.14 kB / 3.127 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.692e-05/9.07, allocations: 36 kB / 3.127 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008114/9.078, allocations: 0.7956 MB / 3.128 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.147e-05/9.078, allocations: 43.86 kB / 3.128 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006139/9.084, allocations: 306.1 kB / 3.128 GB, free: 164 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000995/9.085, allocations: 139.9 kB / 3.128 GB, free: 163.9 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.001298/9.087, allocations: 173.8 kB / 3.128 GB, free: 163.7 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02365/9.11, allocations: 4.605 MB / 3.133 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009877/9.111, allocations: 233.1 kB / 3.133 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0262/9.138, allocations: 5.235 MB / 3.138 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/9.138, allocations: 32 kB / 3.138 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/9.138, allocations: 0 / 3.138 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.823e-05/9.138, allocations: 11.95 kB / 3.138 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03457/9.172, allocations: 9.433 MB / 3.147 GB, free: 144 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/9.172, allocations: 0 / 3.147 GB, free: 144 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008262/9.181, allocations: 0.7881 MB / 3.148 GB, free: 143.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-05/9.181, allocations: 15.94 kB / 3.148 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007053/9.182, allocations: 47.89 kB / 3.148 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.906e-05/9.182, allocations: 23.61 kB / 3.148 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/9.182, allocations: 0 / 3.148 GB, free: 143.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/9.205, allocations: 5.19 MB / 3.153 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/9.208, allocations: 0.8096 MB / 3.154 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/9.209, allocations: 8 kB / 3.154 GB, free: 137 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005908/9.215, allocations: 251.6 kB / 3.154 GB, free: 136.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00077/9.216, allocations: 173.7 kB / 3.155 GB, free: 136.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004538/9.216, allocations: 95.94 kB / 3.155 GB, free: 136.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002316/9.219, allocations: 1.074 MB / 3.156 GB, free: 135.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.72e-07/9.219, allocations: 3.938 kB / 3.156 GB, free: 135.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008632/9.227, allocations: 1.273 MB / 3.157 GB, free: 134.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 (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.02694/9.254, allocations: 6.804 MB / 3.164 GB, free: 127.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01453/9.269, allocations: 5.484 MB / 3.169 GB, free: 121.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/9.269, allocations: 4.25 kB / 3.169 GB, free: 121.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00451/9.274, allocations: 1.733 MB / 3.171 GB, free: 120 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00496/9.279, allocations: 468.2 kB / 3.171 GB, free: 119.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02328/9.302, allocations: 6.92 MB / 3.178 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/9.306, allocations: 2.687 MB / 3.18 GB, free: 109.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01274/9.319, allocations: 1.411 MB / 3.182 GB, free: 108.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004499/9.324, allocations: 1.542 MB / 3.183 GB, free: 106.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.833e-06/9.324, allocations: 0 / 3.183 GB, free: 106.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/9.498, allocations: 66.59 MB / 3.248 GB, free: 40.75 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/9.499, allocations: 211.4 kB / 3.249 GB, free: 40.48 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.297/14.8, allocations: 0 / 3.249 GB, free: 40.48 MB / 0.823 GB