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.WindTurbine.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.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",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.01573/0.01573, allocations: 108.6 kB / 15.05 MB, free: 5.988 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.001804/0.001804, allocations: 181.7 kB / 15.94 MB, free: 5.941 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.34/2.34, allocations: 194.5 MB / 211.2 MB, free: 11.16 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.269/2.269, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7318, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.07/7.802, allocations: 2.234 GB / 2.917 GB, free: 158.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/7.802, allocations: 117.4 kB / 2.917 GB, free: 158.4 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.5672/8.369, allocations: 154.4 MB / 3.068 GB, free: 12.69 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.504e-06/8.369, allocations: 0 / 3.068 GB, free: 12.69 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003802/8.37, allocations: 91.86 kB / 3.068 GB, free: 12.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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01265/8.382, allocations: 3.548 MB / 3.071 GB, free: 8.949 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/8.382, allocations: 12.03 kB / 3.071 GB, free: 8.938 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00207/8.385, allocations: 466.8 kB / 3.072 GB, free: 8.469 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/8.394, allocations: 0.932 MB / 3.073 GB, free: 7.531 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/8.401, allocations: 2.198 MB / 3.075 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/8.402, allocations: 230.1 kB / 3.075 GB, free: 5.055 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/8.403, allocations: 307.9 kB / 3.075 GB, free: 4.754 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/8.418, allocations: 4.485 MB / 3.08 GB, free: 116 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/8.418, allocations: 11.88 kB / 3.08 GB, free: 104 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.586/9.004, allocations: 127.3 kB / 3.08 GB, free: 205.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006152/9.005, allocations: 176.2 kB / 3.08 GB, free: 205.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/9.025, allocations: 4.157 MB / 3.084 GB, free: 205.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04401/9.069, allocations: 19.95 MB / 3.104 GB, free: 195.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007278/9.076, allocations: 2.025 MB / 3.106 GB, free: 195.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/9.078, allocations: 0.5658 MB / 3.106 GB, free: 194.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003944/9.082, allocations: 1.185 MB / 3.107 GB, free: 194.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 6.582e-06/9.082, allocations: 0 / 3.107 GB, free: 194.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=187): time 0.07522/9.157, allocations: 13.74 MB / 3.121 GB, free: 191 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/9.157, allocations: 494.6 kB / 3.121 GB, free: 190.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005752/9.163, allocations: 1.973 MB / 3.123 GB, free: 190.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006736/9.164, allocations: 68.67 kB / 3.123 GB, free: 190.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00203/9.166, allocations: 1.459 MB / 3.125 GB, free: 189.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00117/9.167, allocations: 0.6304 MB / 3.125 GB, free: 189.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003527/9.167, allocations: 41.47 kB / 3.125 GB, free: 189.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001832/9.168, allocations: 388.2 kB / 3.126 GB, free: 189.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/9.172, allocations: 1.222 MB / 3.127 GB, free: 189.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008312/9.181, allocations: 1.745 MB / 3.129 GB, free: 188.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/9.187, allocations: 1.597 MB / 3.13 GB, free: 188.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/9.187, allocations: 9.734 kB / 3.13 GB, free: 188.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02207/9.209, allocations: 5.105 MB / 3.135 GB, free: 188 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001099/9.21, allocations: 4.742 MB / 3.14 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/9.21, allocations: 11.66 kB / 3.14 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0148/9.225, allocations: 2.059 MB / 3.142 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004267/9.23, allocations: 495.8 kB / 3.142 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/9.248, allocations: 9.852 MB / 3.152 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/9.252, allocations: 212.9 kB / 3.152 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000772/9.253, allocations: 93.47 kB / 3.152 GB, free: 177.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/9.253, allocations: 6.531 kB / 3.152 GB, free: 177.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01822/9.271, allocations: 4.283 MB / 3.156 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.742e-05/9.271, allocations: 10.28 kB / 3.156 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/9.282, allocations: 1.388 MB / 3.158 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/9.286, allocations: 0.4997 MB / 3.158 GB, free: 177.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/9.301, allocations: 7.836 MB / 3.166 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/9.305, allocations: 186.7 kB / 3.166 GB, free: 171.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005847/9.306, allocations: 95.59 kB / 3.166 GB, free: 171.8 MB / 0.823 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00381/9.31, allocations: 1.253 MB / 3.167 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009812/9.311, allocations: 229.9 kB / 3.168 GB, free: 171.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02144/9.332, allocations: 4.662 MB / 3.172 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-05/9.332, allocations: 18.97 kB / 3.172 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/9.332, allocations: 11.8 kB / 3.172 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.072e-05/9.332, allocations: 14.28 kB / 3.172 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/9.364, allocations: 9.751 MB / 3.182 GB, free: 165.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.862e-05/9.365, allocations: 3.281 kB / 3.182 GB, free: 165.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003403/9.368, allocations: 382 kB / 3.182 GB, free: 165.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01433/9.382, allocations: 1.999 MB / 3.184 GB, free: 165.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005604/9.383, allocations: 50.03 kB / 3.184 GB, free: 165.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02421/9.407, allocations: 13.65 MB / 3.197 GB, free: 154.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/9.407, allocations: 10.38 kB / 3.197 GB, free: 154.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/9.427, allocations: 4.971 MB / 3.202 GB, free: 152.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002688/9.43, allocations: 0.6959 MB / 3.203 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/9.431, allocations: 50.53 kB / 3.203 GB, free: 152.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003946/9.435, allocations: 205.1 kB / 3.203 GB, free: 152.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008807/9.436, allocations: 142.3 kB / 3.203 GB, free: 152.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/9.436, allocations: 72.58 kB / 3.203 GB, free: 152.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003857/9.44, allocations: 1.542 MB / 3.205 GB, free: 151.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.062e-06/9.44, allocations: 0 / 3.205 GB, free: 151.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.008009/9.448, allocations: 1.359 MB / 3.206 GB, free: 151.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 172 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02356/9.472, allocations: 7.739 MB / 3.214 GB, free: 147.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01842/9.49, allocations: 6.228 MB / 3.22 GB, free: 144.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/9.49, allocations: 1.438 kB / 3.22 GB, free: 144.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006936/9.497, allocations: 2.404 MB / 3.222 GB, free: 143.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/9.502, allocations: 0.5057 MB / 3.223 GB, free: 143.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02426/9.526, allocations: 17.59 MB / 3.24 GB, free: 129.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00355/9.53, allocations: 2.502 MB / 3.242 GB, free: 128.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005949/9.536, allocations: 1.025 MB / 3.243 GB, free: 128.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003197/9.539, allocations: 1.264 MB / 3.245 GB, free: 127.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.192e-06/9.539, allocations: 0 / 3.245 GB, free: 127.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/9.702, allocations: 70.55 MB / 3.313 GB, free: 72.63 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/9.702, allocations: 291.2 kB / 3.314 GB, free: 72.27 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.317/15.02, allocations: 0 / 3.314 GB, free: 72.27 MB / 0.823 GB