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 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.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 loadModel(Buildings): time 4.355/4.355, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.534e-05, allocations: 4.719 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2197, allocations: 98.73 MB / 0.6347 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.199/7.419, allocations: 2.215 GB / 2.85 GB, free: 88.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003824/7.419, allocations: 96.45 kB / 2.85 GB, free: 87.96 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.1942/7.613, allocations: 48.81 MB / 2.897 GB, free: 46.93 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.585e-06/7.613, allocations: 0 / 2.897 GB, free: 46.93 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001629/7.613, allocations: 31.98 kB / 2.897 GB, free: 46.9 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.004542/7.618, allocations: 1.359 MB / 2.899 GB, free: 45.55 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/7.618, allocations: 12.03 kB / 2.899 GB, free: 45.54 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006588/7.619, allocations: 150.6 kB / 2.899 GB, free: 45.45 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004459/7.623, allocations: 388.2 kB / 2.899 GB, free: 45.07 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/7.626, allocations: 0.7265 MB / 2.9 GB, free: 44.43 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/7.626, allocations: 82.61 kB / 2.9 GB, free: 44.38 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/7.626, allocations: 98.44 kB / 2.9 GB, free: 44.31 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/7.629, allocations: 1.148 MB / 2.901 GB, free: 43.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/7.629, allocations: 0 / 2.901 GB, free: 43.46 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/7.63, allocations: 43.06 kB / 2.901 GB, free: 43.45 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.014e-05/7.63, allocations: 47.3 kB / 2.901 GB, free: 43.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/7.633, allocations: 1.318 MB / 2.903 GB, free: 42.41 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/7.645, allocations: 4.442 MB / 2.907 GB, free: 38.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/7.647, allocations: 0.8575 MB / 2.908 GB, free: 37.21 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009249/7.648, allocations: 343.1 kB / 2.908 GB, free: 36.87 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008638/7.649, allocations: 478.3 kB / 2.908 GB, free: 36.31 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/7.65, allocations: 491.8 kB / 2.909 GB, free: 35.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 3.466e-06/7.65, allocations: 0 / 2.909 GB, free: 35.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.002302/7.652, allocations: 0.7654 MB / 2.91 GB, free: 35.03 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/7.653, allocations: 321.2 kB / 2.91 GB, free: 34.64 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/7.654, allocations: 0.813 MB / 2.911 GB, free: 33.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/7.654, allocations: 41.7 kB / 2.911 GB, free: 33.78 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/7.655, allocations: 491.9 kB / 2.911 GB, free: 33.29 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/7.655, allocations: 268.1 kB / 2.912 GB, free: 33.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/7.655, allocations: 16 kB / 2.912 GB, free: 33.01 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/7.655, allocations: 342 kB / 2.912 GB, free: 32.67 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007479/7.656, allocations: 273.5 kB / 2.912 GB, free: 32.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008868/7.657, allocations: 445.7 kB / 2.913 GB, free: 31.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/7.658, allocations: 404.7 kB / 2.913 GB, free: 31.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/7.658, allocations: 0 / 2.913 GB, free: 31.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002554/7.66, allocations: 0.9969 MB / 2.914 GB, free: 30.46 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/7.661, allocations: 1.049 MB / 2.915 GB, free: 29.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/7.661, allocations: 0 / 2.915 GB, free: 29.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/7.661, allocations: 24.84 kB / 2.915 GB, free: 29.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/7.663, allocations: 195.7 kB / 2.915 GB, free: 29.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004235/7.663, allocations: 0.5368 MB / 2.916 GB, free: 28.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/7.665, allocations: 111.3 kB / 2.916 GB, free: 28.43 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/7.665, allocations: 43.97 kB / 2.916 GB, free: 28.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/7.665, allocations: 4 kB / 2.916 GB, free: 28.39 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002098/7.667, allocations: 0.8783 MB / 2.917 GB, free: 27.49 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/7.667, allocations: 4 kB / 2.917 GB, free: 27.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/7.667, allocations: 7.953 kB / 2.917 GB, free: 27.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/7.669, allocations: 196 kB / 2.917 GB, free: 27.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/7.669, allocations: 4 kB / 2.917 GB, free: 27.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/7.67, allocations: 111.2 kB / 2.917 GB, free: 27.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/7.67, allocations: 43.98 kB / 2.917 GB, free: 27.13 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 () * 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.000332/7.671, allocations: 152.8 kB / 2.917 GB, free: 26.98 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/7.671, allocations: 102.8 kB / 2.917 GB, free: 26.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/7.674, allocations: 0.9949 MB / 2.918 GB, free: 25.87 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/7.674, allocations: 8 kB / 2.918 GB, free: 25.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/7.674, allocations: 4 kB / 2.918 GB, free: 25.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/7.674, allocations: 3.984 kB / 2.918 GB, free: 25.85 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005004/7.679, allocations: 2.325 MB / 2.921 GB, free: 23.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/7.679, allocations: 0 / 2.921 GB, free: 23.44 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/7.681, allocations: 167.8 kB / 2.921 GB, free: 23.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001729/7.681, allocations: 32.97 kB / 2.921 GB, free: 23.24 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/7.681, allocations: 27.97 kB / 2.921 GB, free: 23.21 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009512/7.682, allocations: 1.276 MB / 2.922 GB, free: 21.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/7.682, allocations: 8.031 kB / 2.922 GB, free: 21.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/7.684, allocations: 0.9912 MB / 2.923 GB, free: 20.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007424/7.685, allocations: 335.5 kB / 2.923 GB, free: 20.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/7.685, allocations: 16 kB / 2.923 GB, free: 20.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/7.687, allocations: 91.77 kB / 2.923 GB, free: 20.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/7.687, allocations: 72.59 kB / 2.924 GB, free: 20.22 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/7.687, allocations: 31.98 kB / 2.924 GB, free: 20.19 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001218/7.688, allocations: 0.6358 MB / 2.924 GB, free: 19.56 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/7.688, allocations: 0 / 2.924 GB, free: 19.56 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002121/7.69, allocations: 0.5842 MB / 2.925 GB, free: 18.97 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (88): * Single equations (assignments): 85 * 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.004318/7.695, allocations: 2.371 MB / 2.927 GB, free: 16.69 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003264/7.698, allocations: 1.459 MB / 2.928 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/7.698, allocations: 0 / 2.928 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/7.699, allocations: 494.9 kB / 2.929 GB, free: 14.66 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/7.701, allocations: 229.9 kB / 2.929 GB, free: 14.45 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005259/7.706, allocations: 1.825 MB / 2.931 GB, free: 12.57 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/7.707, allocations: 1.139 MB / 2.932 GB, free: 11.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003286/7.71, allocations: 0.5452 MB / 2.933 GB, free: 10.85 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009103/7.711, allocations: 407.3 kB / 2.933 GB, free: 10.45 MB / 0.823 GB Notification: Performance of SimCode: time 1.754e-06/7.711, allocations: 4 kB / 2.933 GB, free: 10.45 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6746/8.386, allocations: 24.1 MB / 2.957 GB, free: 266.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/8.386, allocations: 233.9 kB / 2.957 GB, free: 265.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.009/12.4, allocations: 0 / 2.957 GB, free: 265.9 MB / 0.823 GB