Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_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.01105/0.01105, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.001244/0.001243, allocations: 183.5 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.008/2.008, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.324/2.324, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006645/0.0006644, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6734/0.6741, allocations: 98.71 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.921/7.595, allocations: 2.205 GB / 2.888 GB, free: 187.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/7.596, allocations: 102.1 kB / 2.888 GB, free: 187.8 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.192/7.788, allocations: 49.2 MB / 2.936 GB, free: 146.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.206e-06/7.788, allocations: 0 / 2.936 GB, free: 146.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001046/7.788, allocations: 31.94 kB / 2.936 GB, free: 146.3 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003673/7.792, allocations: 1.509 MB / 2.938 GB, free: 144.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/7.792, allocations: 12.03 kB / 2.938 GB, free: 144.8 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004577/7.792, allocations: 161 kB / 2.938 GB, free: 144.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/7.796, allocations: 397.4 kB / 2.938 GB, free: 144.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/7.798, allocations: 0.7326 MB / 2.939 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/7.798, allocations: 70.44 kB / 2.939 GB, free: 143.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/7.799, allocations: 96.12 kB / 2.939 GB, free: 143.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/7.802, allocations: 1.199 MB / 2.94 GB, free: 142.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/7.802, allocations: 3.938 kB / 2.94 GB, free: 142.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/7.802, allocations: 40.12 kB / 2.94 GB, free: 142.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.709e-05/7.802, allocations: 49.92 kB / 2.94 GB, free: 142.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004259/7.807, allocations: 1.428 MB / 2.942 GB, free: 141.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009856/7.817, allocations: 4.446 MB / 2.946 GB, free: 137.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/7.821, allocations: 0.9606 MB / 2.947 GB, free: 137 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/7.821, allocations: 475.1 kB / 2.948 GB, free: 136.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00169/7.823, allocations: 0.5246 MB / 2.948 GB, free: 136.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 3.817e-06/7.823, allocations: 0 / 2.948 GB, free: 136.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.004882/7.828, allocations: 1.256 MB / 2.949 GB, free: 135.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/7.828, allocations: 319.5 kB / 2.95 GB, free: 134.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/7.83, allocations: 0.8174 MB / 2.95 GB, free: 134.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002467/7.83, allocations: 44.7 kB / 2.95 GB, free: 134.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/7.831, allocations: 499.7 kB / 2.951 GB, free: 133.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/7.831, allocations: 259 kB / 2.951 GB, free: 133.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.72e-05/7.831, allocations: 18.38 kB / 2.951 GB, free: 133.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/7.831, allocations: 340.2 kB / 2.952 GB, free: 133.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/7.832, allocations: 321.4 kB / 2.952 GB, free: 133 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/7.834, allocations: 0.4948 MB / 2.952 GB, free: 132.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/7.835, allocations: 453.7 kB / 2.953 GB, free: 132.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/7.835, allocations: 0 / 2.953 GB, free: 132.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003474/7.839, allocations: 1.1 MB / 2.954 GB, free: 131.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000247/7.839, allocations: 1.051 MB / 2.955 GB, free: 130 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/7.839, allocations: 4 kB / 2.955 GB, free: 130 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/7.839, allocations: 24.84 kB / 2.955 GB, free: 129.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/7.841, allocations: 191.8 kB / 2.955 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003558/7.841, allocations: 0.5406 MB / 2.956 GB, free: 129.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/7.843, allocations: 115.2 kB / 2.956 GB, free: 129.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/7.843, allocations: 39.97 kB / 2.956 GB, free: 129 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/7.843, allocations: 4 kB / 2.956 GB, free: 129 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003065/7.846, allocations: 0.985 MB / 2.957 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/7.846, allocations: 4 kB / 2.957 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/7.846, allocations: 7.953 kB / 2.957 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/7.848, allocations: 195.9 kB / 2.957 GB, free: 127.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/7.848, allocations: 4 kB / 2.957 GB, free: 127.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/7.849, allocations: 111.3 kB / 2.957 GB, free: 127.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/7.849, allocations: 35.98 kB / 2.957 GB, free: 127.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009028/7.85, allocations: 400.8 kB / 2.957 GB, free: 127.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/7.851, allocations: 98.78 kB / 2.958 GB, free: 127.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/7.855, allocations: 1.094 MB / 2.959 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/7.855, allocations: 12 kB / 2.959 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/7.855, allocations: 0 / 2.959 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/7.855, allocations: 3.984 kB / 2.959 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/7.857, allocations: 1.319 MB / 2.96 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/7.857, allocations: 7.938 kB / 2.96 GB, free: 124.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/7.859, allocations: 171.8 kB / 2.96 GB, free: 124.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/7.859, allocations: 32.78 kB / 2.96 GB, free: 124.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.722e-05/7.859, allocations: 27.97 kB / 2.96 GB, free: 124.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/7.86, allocations: 1.28 MB / 2.961 GB, free: 123 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/7.86, allocations: 0 / 2.961 GB, free: 123 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/7.864, allocations: 0.9812 MB / 2.962 GB, free: 122 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007671/7.864, allocations: 343.4 kB / 2.963 GB, free: 121.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/7.865, allocations: 16 kB / 2.963 GB, free: 121.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/7.866, allocations: 83.92 kB / 2.963 GB, free: 121.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/7.866, allocations: 60.84 kB / 2.963 GB, free: 121.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/7.866, allocations: 39.97 kB / 2.963 GB, free: 121.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001214/7.867, allocations: 0.6435 MB / 2.964 GB, free: 120.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.81e-07/7.867, allocations: 0 / 2.964 GB, free: 120.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002145/7.87, allocations: 0.5918 MB / 2.964 GB, free: 120.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (87): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00544/7.875, allocations: 2.276 MB / 2.966 GB, free: 118.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004891/7.88, allocations: 1.581 MB / 2.968 GB, free: 116.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/7.88, allocations: 4 kB / 2.968 GB, free: 116.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/7.882, allocations: 0.5278 MB / 2.968 GB, free: 115.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/7.884, allocations: 230.3 kB / 2.969 GB, free: 115.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007321/7.891, allocations: 4.804 MB / 2.973 GB, free: 110.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007453/7.892, allocations: 1.137 MB / 2.974 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002678/7.894, allocations: 414.5 kB / 2.975 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/7.895, allocations: 439.2 kB / 2.975 GB, free: 108.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.072e-06/7.895, allocations: 0 / 2.975 GB, free: 108.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07854/7.974, allocations: 22.56 MB / 2.997 GB, free: 86.47 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/7.974, allocations: 261 kB / 2.997 GB, free: 86.11 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/11.5, allocations: 0 / 2.997 GB, free: 86.11 MB / 0.823 GB