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 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.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.045/4.045, allocations: 432.6 MB / 445.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.33e-05, allocations: 3.406 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.008/7.222, allocations: 2.244 GB / 2.878 GB, free: 57.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003852/7.222, allocations: 114.5 kB / 2.878 GB, free: 57.32 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 1.218/8.441, allocations: 153.6 MB / 3.028 GB, free: 242.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/8.441, allocations: 0 / 3.028 GB, free: 242.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003876/8.441, allocations: 87.06 kB / 3.029 GB, free: 242.2 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.01212/8.453, allocations: 3.212 MB / 3.032 GB, free: 238.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/8.453, allocations: 8.031 kB / 3.032 GB, free: 238.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002114/8.455, allocations: 459.1 kB / 3.032 GB, free: 238.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009393/8.465, allocations: 0.9382 MB / 3.033 GB, free: 237.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/8.472, allocations: 2.188 MB / 3.035 GB, free: 235.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/8.473, allocations: 231.6 kB / 3.035 GB, free: 235.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001572/8.474, allocations: 306.2 kB / 3.036 GB, free: 234.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/8.489, allocations: 4.389 MB / 3.04 GB, free: 230.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/8.489, allocations: 3.984 kB / 3.04 GB, free: 230.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/8.49, allocations: 135.5 kB / 3.04 GB, free: 230.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002653/8.491, allocations: 178 kB / 3.04 GB, free: 230 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/8.503, allocations: 4.009 MB / 3.044 GB, free: 226 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03948/8.543, allocations: 19.95 MB / 3.064 GB, free: 204.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/8.548, allocations: 1.897 MB / 3.066 GB, free: 202.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/8.55, allocations: 0.9774 MB / 3.067 GB, free: 201.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/8.551, allocations: 0.5598 MB / 3.067 GB, free: 201 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002613/8.554, allocations: 1.136 MB / 3.068 GB, free: 199.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 6.502e-06/8.554, allocations: 7.922 kB / 3.068 GB, free: 199.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=187): time 0.05253/8.606, allocations: 12.02 MB / 3.08 GB, free: 187.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/8.607, allocations: 488.6 kB / 3.08 GB, free: 187.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/8.611, allocations: 1.959 MB / 3.082 GB, free: 185.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006398/8.612, allocations: 73.64 kB / 3.082 GB, free: 185.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001699/8.613, allocations: 1.461 MB / 3.084 GB, free: 183.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/8.614, allocations: 0.6289 MB / 3.084 GB, free: 183 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/8.615, allocations: 40 kB / 3.084 GB, free: 182.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001489/8.615, allocations: 385.9 kB / 3.085 GB, free: 182.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/8.618, allocations: 1.16 MB / 3.086 GB, free: 181.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003125/8.621, allocations: 1.679 MB / 3.088 GB, free: 179.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/8.624, allocations: 1.539 MB / 3.089 GB, free: 177.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/8.624, allocations: 4 kB / 3.089 GB, free: 177.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01762/8.642, allocations: 4.871 MB / 3.094 GB, free: 173 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001145/8.643, allocations: 4.755 MB / 3.099 GB, free: 167.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/8.643, allocations: 12 kB / 3.099 GB, free: 167.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/8.655, allocations: 1.846 MB / 3.1 GB, free: 165.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/8.659, allocations: 499.2 kB / 3.101 GB, free: 165.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01574/8.675, allocations: 9.52 MB / 3.11 GB, free: 155.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/8.679, allocations: 203.8 kB / 3.11 GB, free: 155.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/8.68, allocations: 95.97 kB / 3.11 GB, free: 155.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/8.68, allocations: 4 kB / 3.11 GB, free: 155.2 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/8.693, allocations: 4.043 MB / 3.114 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/8.694, allocations: 15.98 kB / 3.114 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007491/8.701, allocations: 1.177 MB / 3.115 GB, free: 149.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/8.705, allocations: 0.4953 MB / 3.116 GB, free: 149.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/8.719, allocations: 7.523 MB / 3.123 GB, free: 141.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003804/8.723, allocations: 183.7 kB / 3.123 GB, free: 141.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/8.723, allocations: 95.97 kB / 3.124 GB, free: 141.2 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 = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "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 () * 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.0008154/8.724, allocations: 237.2 kB / 3.124 GB, free: 140.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/8.725, allocations: 233.2 kB / 3.124 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/8.742, allocations: 4.424 MB / 3.128 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/8.742, allocations: 23.94 kB / 3.128 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/8.742, allocations: 8 kB / 3.128 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.503e-05/8.742, allocations: 15.94 kB / 3.128 GB, free: 136.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/8.769, allocations: 9.529 MB / 3.138 GB, free: 126.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/8.769, allocations: 4 kB / 3.138 GB, free: 126.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/8.772, allocations: 372.1 kB / 3.138 GB, free: 126.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01173/8.784, allocations: 1.811 MB / 3.14 GB, free: 124.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/8.784, allocations: 55.97 kB / 3.14 GB, free: 124.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/8.807, allocations: 13.14 MB / 3.153 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/8.807, allocations: 11.94 kB / 3.153 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/8.823, allocations: 4.74 MB / 3.157 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/8.826, allocations: 0.6932 MB / 3.158 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007228/8.827, allocations: 51.98 kB / 3.158 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003493/8.83, allocations: 199.7 kB / 3.158 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/8.831, allocations: 145.7 kB / 3.158 GB, free: 104.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/8.831, allocations: 67.97 kB / 3.158 GB, free: 104.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003364/8.835, allocations: 1.523 MB / 3.16 GB, free: 102.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.31e-07/8.835, allocations: 0 / 3.16 GB, free: 102.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006869/8.841, allocations: 1.355 MB / 3.161 GB, free: 101.3 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) * 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.02026/8.862, allocations: 7.427 MB / 3.169 GB, free: 93.96 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01613/8.878, allocations: 6.089 MB / 3.174 GB, free: 87.68 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/8.878, allocations: 0 / 3.174 GB, free: 87.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006575/8.885, allocations: 2.325 MB / 3.177 GB, free: 85.28 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/8.889, allocations: 0.512 MB / 3.177 GB, free: 84.77 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/8.907, allocations: 6.235 MB / 3.183 GB, free: 78.43 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003288/8.911, allocations: 2.502 MB / 3.186 GB, free: 75.89 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007644/8.918, allocations: 1.383 MB / 3.187 GB, free: 74.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002915/8.921, allocations: 1.23 MB / 3.188 GB, free: 73.27 MB / 0.823 GB Notification: Performance of SimCode: time 1.253e-06/8.921, allocations: 3.938 kB / 3.188 GB, free: 73.27 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7593/9.681, allocations: 73.74 MB / 3.26 GB, free: 232.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/9.681, allocations: 254.4 kB / 3.261 GB, free: 232.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/16.6, allocations: 4.406 kB / 3.261 GB, free: 232.6 MB / 0.823 GB