Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_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.01085/0.01085, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001155/0.001155, allocations: 186.4 kB / 15.94 MB, free: 5.895 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 1.843/1.843, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.227/2.227, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004767, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7051, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.703/7.408, allocations: 2.206 GB / 2.889 GB, free: 186.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003704/7.409, allocations: 112.7 kB / 2.89 GB, free: 186.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2338/7.642, allocations: 56.42 MB / 2.945 GB, free: 138.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.805e-06/7.642, allocations: 0 / 2.945 GB, free: 138.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001161/7.643, allocations: 35.94 kB / 2.945 GB, free: 138.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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004021/7.647, allocations: 1.6 MB / 2.946 GB, free: 136.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/7.647, allocations: 8.031 kB / 2.946 GB, free: 136.7 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000512/7.647, allocations: 164.8 kB / 2.946 GB, free: 136.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/7.652, allocations: 413.5 kB / 2.947 GB, free: 136.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/7.654, allocations: 0.7665 MB / 2.948 GB, free: 135.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/7.654, allocations: 82.22 kB / 2.948 GB, free: 135.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/7.654, allocations: 108.7 kB / 2.948 GB, free: 135.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/7.658, allocations: 1.354 MB / 2.949 GB, free: 134.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/7.658, allocations: 0 / 2.949 GB, free: 134.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002059/7.658, allocations: 50.39 kB / 2.949 GB, free: 134.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-05/7.658, allocations: 54.98 kB / 2.949 GB, free: 134.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/7.663, allocations: 1.6 MB / 2.951 GB, free: 133.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/7.674, allocations: 4.783 MB / 2.955 GB, free: 128.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/7.678, allocations: 1.17 MB / 2.956 GB, free: 128.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/7.679, allocations: 0.5488 MB / 2.957 GB, free: 127.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00196/7.681, allocations: 0.6463 MB / 2.958 GB, free: 126.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.018e-06/7.681, allocations: 0 / 2.958 GB, free: 126.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.008252/7.689, allocations: 2.187 MB / 2.96 GB, free: 124.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/7.69, allocations: 270 kB / 2.96 GB, free: 124.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/7.691, allocations: 0.817 MB / 2.961 GB, free: 123.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/7.691, allocations: 41.7 kB / 2.961 GB, free: 123.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/7.692, allocations: 0.5039 MB / 2.961 GB, free: 122.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/7.692, allocations: 319.4 kB / 2.962 GB, free: 122.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/7.692, allocations: 16 kB / 2.962 GB, free: 122.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/7.693, allocations: 342 kB / 2.962 GB, free: 122.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/7.694, allocations: 421.7 kB / 2.962 GB, free: 121.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/7.696, allocations: 0.6028 MB / 2.963 GB, free: 121.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/7.697, allocations: 0.5624 MB / 2.964 GB, free: 120.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/7.697, allocations: 0 / 2.964 GB, free: 120.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004873/7.702, allocations: 1.459 MB / 2.965 GB, free: 119.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002972/7.703, allocations: 1.213 MB / 2.966 GB, free: 117.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/7.703, allocations: 4 kB / 2.966 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/7.704, allocations: 216.6 kB / 2.966 GB, free: 117.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002066/7.706, allocations: 215.7 kB / 2.967 GB, free: 117.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008114/7.707, allocations: 0.6499 MB / 2.967 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/7.709, allocations: 127.4 kB / 2.967 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/7.709, allocations: 44.06 kB / 2.967 GB, free: 116.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/7.709, allocations: 7.938 kB / 2.967 GB, free: 116.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003656/7.713, allocations: 1.172 MB / 2.969 GB, free: 115.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/7.713, allocations: 4.109 kB / 2.969 GB, free: 115.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/7.713, allocations: 11.94 kB / 2.969 GB, free: 115.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00201/7.715, allocations: 235.9 kB / 2.969 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/7.715, allocations: 4 kB / 2.969 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/7.717, allocations: 107.4 kB / 2.969 GB, free: 114.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/7.717, allocations: 43.98 kB / 2.969 GB, free: 114.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001004/7.718, allocations: 424.8 kB / 2.969 GB, free: 114.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003658/7.718, allocations: 106.7 kB / 2.969 GB, free: 114.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005622/7.724, allocations: 1.481 MB / 2.971 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/7.724, allocations: 19.95 kB / 2.971 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/7.724, allocations: 0 / 2.971 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/7.724, allocations: 7.969 kB / 2.971 GB, free: 112.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/7.732, allocations: 2.819 MB / 2.974 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/7.732, allocations: 0 / 2.974 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001819/7.734, allocations: 199.7 kB / 2.974 GB, free: 109.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/7.735, allocations: 212.8 kB / 2.974 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/7.735, allocations: 31.94 kB / 2.974 GB, free: 109.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/7.738, allocations: 1.878 MB / 2.976 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/7.738, allocations: 0 / 2.976 GB, free: 107.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/7.743, allocations: 1.576 MB / 2.977 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008963/7.744, allocations: 363.3 kB / 2.978 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/7.744, allocations: 27.98 kB / 2.978 GB, free: 105.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/7.746, allocations: 103.8 kB / 2.978 GB, free: 105.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/7.746, allocations: 76.8 kB / 2.978 GB, free: 105.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/7.746, allocations: 43.97 kB / 2.978 GB, free: 105.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001222/7.748, allocations: 0.6552 MB / 2.979 GB, free: 104.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.81e-07/7.748, allocations: 4 kB / 2.979 GB, free: 104.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002319/7.75, allocations: 0.5349 MB / 2.979 GB, free: 104 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (101): * Single equations (assignments): 98 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.007216/7.757, allocations: 3.224 MB / 2.982 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005791/7.763, allocations: 1.956 MB / 2.984 GB, free: 98.88 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/7.763, allocations: 0 / 2.984 GB, free: 98.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00217/7.765, allocations: 0.7037 MB / 2.985 GB, free: 98.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/7.767, allocations: 238 kB / 2.985 GB, free: 97.94 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0084/7.776, allocations: 5.507 MB / 2.991 GB, free: 92.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008222/7.777, allocations: 1.185 MB / 2.992 GB, free: 91.08 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003035/7.78, allocations: 471 kB / 2.992 GB, free: 90.62 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/7.781, allocations: 463.2 kB / 2.993 GB, free: 90.16 MB / 0.823 GB Notification: Performance of SimCode: time 1.453e-06/7.781, allocations: 0 / 2.993 GB, free: 90.16 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07966/7.861, allocations: 25.21 MB / 3.017 GB, free: 65.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/7.861, allocations: 284.3 kB / 3.018 GB, free: 64.84 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/11.31, allocations: 0 / 3.018 GB, free: 64.84 MB / 0.823 GB