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.004236/0.004235, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001233/0.001232, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 4.065/4.065, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.981/3.981, allocations: 472.3 MB / 0.9024 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004988, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1784, allocations: 98.72 MB / 1.105 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.7/6.878, allocations: 2.205 GB / 3.309 GB, free: 1.773 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000597/6.879, allocations: 109.4 kB / 3.309 GB, free: 1.715 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.7617/7.64, allocations: 50.01 MB / 3.358 GB, free: 268.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.745e-06/7.64, allocations: 0 / 3.358 GB, free: 268.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001362/7.641, allocations: 29.34 kB / 3.358 GB, free: 268.5 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.004773/7.645, allocations: 1.51 MB / 3.36 GB, free: 267.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/7.645, allocations: 9.469 kB / 3.36 GB, free: 267.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/7.65, allocations: 398.4 kB / 3.36 GB, free: 267.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/7.653, allocations: 0.7291 MB / 3.361 GB, free: 266.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/7.653, allocations: 73.94 kB / 3.361 GB, free: 266.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/7.653, allocations: 96.12 kB / 3.361 GB, free: 266.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003984/7.657, allocations: 1.21 MB / 3.362 GB, free: 266.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/7.657, allocations: 0.625 kB / 3.362 GB, free: 266.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/7.657, allocations: 43.81 kB / 3.362 GB, free: 266.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.853e-05/7.658, allocations: 49.06 kB / 3.362 GB, free: 266.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005358/7.663, allocations: 1.429 MB / 3.364 GB, free: 265.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/7.675, allocations: 4.446 MB / 3.368 GB, free: 262 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004173/7.679, allocations: 0.9559 MB / 3.369 GB, free: 261.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/7.681, allocations: 396.2 kB / 3.369 GB, free: 261.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009631/7.682, allocations: 474.7 kB / 3.37 GB, free: 260.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/7.684, allocations: 0.5331 MB / 3.37 GB, free: 260.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 5.42e-06/7.684, allocations: 0 / 3.37 GB, free: 260.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.005582/7.69, allocations: 1.242 MB / 3.372 GB, free: 259.9 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/7.69, allocations: 328 kB / 3.372 GB, free: 259.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/7.692, allocations: 0.9122 MB / 3.373 GB, free: 259 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000364/7.692, allocations: 45.73 kB / 3.373 GB, free: 259 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/7.693, allocations: 487.8 kB / 3.373 GB, free: 258.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/7.693, allocations: 269.7 kB / 3.374 GB, free: 258.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/7.693, allocations: 15.78 kB / 3.374 GB, free: 258.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/7.694, allocations: 336.3 kB / 3.374 GB, free: 258 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/7.695, allocations: 319.5 kB / 3.374 GB, free: 257.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/7.697, allocations: 0.4908 MB / 3.375 GB, free: 257.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/7.699, allocations: 456 kB / 3.375 GB, free: 257.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/7.699, allocations: 0 / 3.375 GB, free: 257.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004457/7.703, allocations: 1.099 MB / 3.376 GB, free: 256.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/7.703, allocations: 238.9 kB / 3.376 GB, free: 256.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/7.703, allocations: 3.812 kB / 3.376 GB, free: 256.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/7.704, allocations: 37.73 kB / 3.376 GB, free: 256.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/7.705, allocations: 181.3 kB / 3.377 GB, free: 256.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/7.707, allocations: 1.283 MB / 3.378 GB, free: 255 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/7.709, allocations: 121.7 kB / 3.378 GB, free: 254.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/7.709, allocations: 34.58 kB / 3.378 GB, free: 254.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/7.709, allocations: 7.781 kB / 3.378 GB, free: 254.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003623/7.713, allocations: 0.982 MB / 3.379 GB, free: 254.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/7.713, allocations: 4.078 kB / 3.379 GB, free: 254.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/7.713, allocations: 19.16 kB / 3.379 GB, free: 254.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/7.714, allocations: 193.8 kB / 3.379 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/7.714, allocations: 7.953 kB / 3.379 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/7.716, allocations: 112.9 kB / 3.379 GB, free: 254.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/7.716, allocations: 31.64 kB / 3.379 GB, free: 254.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.001108/7.717, allocations: 405.9 kB / 3.38 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/7.718, allocations: 100.4 kB / 3.38 GB, free: 253.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/7.722, allocations: 1.085 MB / 3.381 GB, free: 253.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/7.722, allocations: 7.75 kB / 3.381 GB, free: 253.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/7.722, allocations: 0 / 3.381 GB, free: 253.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/7.722, allocations: 7.891 kB / 3.381 GB, free: 253.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007505/7.729, allocations: 2.43 MB / 3.383 GB, free: 251.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/7.729, allocations: 0 / 3.383 GB, free: 251.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/7.731, allocations: 167.2 kB / 3.383 GB, free: 251.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/7.731, allocations: 35.41 kB / 3.383 GB, free: 251.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/7.731, allocations: 23.8 kB / 3.383 GB, free: 251.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/7.733, allocations: 1.276 MB / 3.385 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/7.733, allocations: 8.719 kB / 3.385 GB, free: 250.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00395/7.737, allocations: 1.04 MB / 3.386 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/7.738, allocations: 336.9 kB / 3.386 GB, free: 249.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002944/7.738, allocations: 27.5 kB / 3.386 GB, free: 249.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/7.739, allocations: 78.88 kB / 3.386 GB, free: 249.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/7.74, allocations: 63.81 kB / 3.386 GB, free: 249.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/7.74, allocations: 38.64 kB / 3.386 GB, free: 249.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001363/7.741, allocations: 0.6478 MB / 3.387 GB, free: 248.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/7.741, allocations: 7.812 kB / 3.387 GB, free: 248.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002592/7.744, allocations: 0.5786 MB / 3.387 GB, free: 248.7 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) * Number of clocked states: 0 () * 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.002112/7.746, allocations: 0.6873 MB / 3.388 GB, free: 248.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005105/7.751, allocations: 1.681 MB / 3.39 GB, free: 247.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/7.751, allocations: 3.875 kB / 3.39 GB, free: 247.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/7.753, allocations: 0.5424 MB / 3.39 GB, free: 247.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/7.755, allocations: 243.2 kB / 3.391 GB, free: 247 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/7.761, allocations: 2.503 MB / 3.393 GB, free: 245.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/7.761, allocations: 1.137 MB / 3.394 GB, free: 244.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00278/7.764, allocations: 408.2 kB / 3.394 GB, free: 244.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/7.765, allocations: 105.4 kB / 3.395 GB, free: 244.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.212e-06/7.765, allocations: 0 / 3.395 GB, free: 244.3 MB / 0.823 GB Notification: Performance of Templates: time 0.04027/7.805, allocations: 14.54 MB / 3.409 GB, free: 232.1 MB / 0.823 GB