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: translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009143/0.009143, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001171/0.001171, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.957/1.957, 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.307/2.307, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004687, allocations: 11.98 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5466, allocations: 98.71 MB / 0.6833 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.575/6.121, allocations: 2.205 GB / 2.888 GB, free: 270 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/6.122, allocations: 99.95 kB / 2.888 GB, free: 269.9 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.1679/6.289, allocations: 50.29 MB / 2.937 GB, free: 219.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.518e-06/6.29, allocations: 0 / 2.937 GB, free: 219.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.961e-05/6.29, allocations: 28 kB / 2.937 GB, free: 219.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.002637/6.292, allocations: 1.512 MB / 2.939 GB, free: 217.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/6.292, allocations: 12.03 kB / 2.939 GB, free: 217.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003165/6.296, allocations: 397.8 kB / 2.939 GB, free: 217.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002834/6.298, allocations: 0.7249 MB / 2.94 GB, free: 216.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/6.299, allocations: 73.98 kB / 2.94 GB, free: 216.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/6.299, allocations: 96 kB / 2.94 GB, free: 216.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/6.302, allocations: 1.203 MB / 2.941 GB, free: 215.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/6.302, allocations: 3.938 kB / 2.941 GB, free: 215.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/6.302, allocations: 40 kB / 2.941 GB, free: 215.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/6.302, allocations: 49.98 kB / 2.941 GB, free: 215 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/6.306, allocations: 1.424 MB / 2.943 GB, free: 213.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007544/6.314, allocations: 4.439 MB / 2.947 GB, free: 208.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00271/6.316, allocations: 0.9711 MB / 2.948 GB, free: 207.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005992/6.317, allocations: 474.1 kB / 2.948 GB, free: 207.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/6.318, allocations: 0.5251 MB / 2.949 GB, free: 206.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 4.285e-06/6.318, allocations: 3.938 kB / 2.949 GB, free: 206.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.003506/6.322, allocations: 1.257 MB / 2.95 GB, free: 205.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/6.322, allocations: 317.1 kB / 2.95 GB, free: 205.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/6.323, allocations: 0.8169 MB / 2.951 GB, free: 204.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/6.323, allocations: 49.7 kB / 2.951 GB, free: 204.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/6.324, allocations: 491.9 kB / 2.952 GB, free: 203.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/6.324, allocations: 264.2 kB / 2.952 GB, free: 203.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/6.324, allocations: 16 kB / 2.952 GB, free: 203.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/6.324, allocations: 338 kB / 2.952 GB, free: 203.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009293/6.325, allocations: 321.8 kB / 2.953 GB, free: 202.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/6.326, allocations: 0.4921 MB / 2.953 GB, free: 202.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/6.327, allocations: 455.9 kB / 2.954 GB, free: 201.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.534e-06/6.327, allocations: 4 kB / 2.954 GB, free: 201.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00269/6.33, allocations: 1.088 MB / 2.955 GB, free: 200.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002387/6.33, allocations: 1.051 MB / 2.956 GB, free: 199.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/6.33, allocations: 4 kB / 2.956 GB, free: 199.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/6.33, allocations: 32.83 kB / 2.956 GB, free: 199.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/6.332, allocations: 187.8 kB / 2.956 GB, free: 199.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003244/6.332, allocations: 0.5367 MB / 2.956 GB, free: 198.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/6.333, allocations: 119.3 kB / 2.957 GB, free: 198.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/6.333, allocations: 39.92 kB / 2.957 GB, free: 198.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/6.333, allocations: 4 kB / 2.957 GB, free: 198.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002393/6.336, allocations: 0.985 MB / 2.958 GB, free: 197.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.351e-06/6.336, allocations: 192 / 2.958 GB, free: 197.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/6.336, allocations: 12 kB / 2.958 GB, free: 197.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/6.337, allocations: 199.6 kB / 2.958 GB, free: 197.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/6.337, allocations: 7.984 kB / 2.958 GB, free: 197.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/6.338, allocations: 111.2 kB / 2.958 GB, free: 197.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/6.338, allocations: 39.97 kB / 2.958 GB, free: 197.3 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.0007591/6.339, allocations: 397.5 kB / 2.958 GB, free: 196.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/6.339, allocations: 106.8 kB / 2.958 GB, free: 196.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0031/6.342, allocations: 1.086 MB / 2.959 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/6.342, allocations: 8 kB / 2.959 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/6.342, allocations: 4 kB / 2.959 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/6.342, allocations: 3.984 kB / 2.959 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/6.344, allocations: 1.323 MB / 2.961 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.594e-06/6.344, allocations: 0 / 2.961 GB, free: 194.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009751/6.345, allocations: 175.8 kB / 2.961 GB, free: 194.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/6.345, allocations: 24.78 kB / 2.961 GB, free: 194.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/6.345, allocations: 27.98 kB / 2.961 GB, free: 194 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/6.346, allocations: 1.284 MB / 2.962 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.4e-06/6.346, allocations: 0 / 2.962 GB, free: 192.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/6.349, allocations: 0.9851 MB / 2.963 GB, free: 191.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/6.349, allocations: 327.5 kB / 2.963 GB, free: 191.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/6.35, allocations: 27.94 kB / 2.964 GB, free: 191.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/6.35, allocations: 79.94 kB / 2.964 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/6.351, allocations: 64.84 kB / 2.964 GB, free: 191.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-05/6.351, allocations: 31.98 kB / 2.964 GB, free: 191.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001025/6.352, allocations: 0.6512 MB / 2.964 GB, free: 190.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.57e-07/6.352, allocations: 4 kB / 2.964 GB, free: 190.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001736/6.353, allocations: 0.5919 MB / 2.965 GB, free: 189.8 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.00206/6.356, allocations: 0.6923 MB / 2.966 GB, free: 189.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003447/6.359, allocations: 1.593 MB / 2.967 GB, free: 187.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.636e-06/6.359, allocations: 0 / 2.967 GB, free: 187.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/6.36, allocations: 0.5318 MB / 2.968 GB, free: 187.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/6.362, allocations: 226 kB / 2.968 GB, free: 186.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/6.366, allocations: 2.478 MB / 2.97 GB, free: 184.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006841/6.366, allocations: 1.137 MB / 2.971 GB, free: 183.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002064/6.369, allocations: 418.4 kB / 2.972 GB, free: 182.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000398/6.369, allocations: 107.4 kB / 2.972 GB, free: 182.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.696e-06/6.369, allocations: 0 / 2.972 GB, free: 182.7 MB / 0.823 GB Notification: Performance of Templates: time 0.03268/6.402, allocations: 14.38 MB / 2.986 GB, free: 168.4 MB / 0.823 GB