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.009167/0.009167, allocations: 111.5 kB / 15.06 MB, free: 5.562 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.001142/0.001142, allocations: 184.1 kB / 15.95 MB, free: 5.523 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.153/2.153, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.302/2.302, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004773, allocations: 12 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.55, allocations: 98.71 MB / 0.6833 GB, free: 16.52 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.007693/0.5577, allocations: 5.653 MB / 0.6889 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.1894/0.7472, allocations: 128.5 MB / 0.8143 GB, free: 7.789 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.7484, allocations: 15.94 kB / 0.8144 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.749, allocations: 175 kB / 0.8145 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.7514, allocations: 0.5998 MB / 0.8151 GB, free: 7 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.7543, allocations: 0.7558 MB / 0.8159 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002192/0.7565, allocations: 0.9662 MB / 0.8168 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.7582, allocations: 0.8471 MB / 0.8176 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008561/0.7591, allocations: 438.3 kB / 0.818 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008771/0.76, allocations: 465.9 kB / 0.8185 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.7601, allocations: 36 kB / 0.8185 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.7612, allocations: 331.6 kB / 0.8188 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003743/0.7616, allocations: 267 kB / 0.8191 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.7619, allocations: 237 kB / 0.8193 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002136/0.7641, allocations: 1.396 MB / 0.8207 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.485e-06/0.7641, allocations: 0 / 0.8207 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.601e-06/0.7641, allocations: 0 / 0.8207 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.7642, allocations: 4 kB / 0.8207 GB, free: 1.234 MB / 0.6355 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.002976/0.7671, allocations: 1.452 MB / 0.8221 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7672, allocations: 8.031 kB / 0.8221 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.7702, allocations: 389.9 kB / 0.8225 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.7722, allocations: 0.8284 MB / 0.8233 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.374e-05/0.7723, allocations: 77.94 kB / 0.8234 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.7725, allocations: 99.94 kB / 0.8235 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/0.7755, allocations: 1.201 MB / 0.8246 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.7756, allocations: 0 / 0.8246 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/0.7758, allocations: 43.98 kB / 0.8247 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.715e-05/0.7759, allocations: 57.92 kB / 0.8247 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.7797, allocations: 1.42 MB / 0.8261 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.7885, allocations: 4.445 MB / 0.8305 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.7916, allocations: 0.9579 MB / 0.8314 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000784/0.7924, allocations: 478.1 kB / 0.8319 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/0.7939, allocations: 0.5173 MB / 0.8324 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=80): time 3.894e-06/0.7939, allocations: 0 / 0.8324 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80): time 0.00402/0.7979, allocations: 1.241 MB / 0.8336 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/0.7981, allocations: 277.7 kB / 0.8338 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.7996, allocations: 0.8217 MB / 0.8346 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.7998, allocations: 41.7 kB / 0.8347 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.8004, allocations: 0.492 MB / 0.8352 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/0.8008, allocations: 264.1 kB / 0.8354 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.8009, allocations: 20 kB / 0.8354 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.8011, allocations: 334 kB / 0.8357 GB, free: 1.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.8021, allocations: 317.8 kB / 0.836 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001229/0.8034, allocations: 494.9 kB / 0.8365 GB, free: 332 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.8046, allocations: 452 kB / 0.837 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.343e-06/0.8046, allocations: 0 / 0.837 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003099/0.8078, allocations: 1.096 MB / 0.838 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006251/0.8084, allocations: 1.135 MB / 0.8391 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.8084, allocations: 4 kB / 0.8391 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000229/0.8087, allocations: 28.84 kB / 0.8392 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.8099, allocations: 191.7 kB / 0.8393 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.8114, allocations: 1.292 MB / 0.8406 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.8126, allocations: 123.2 kB / 0.8407 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.8127, allocations: 35.98 kB / 0.8408 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8127, allocations: 7.953 kB / 0.8408 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002748/0.8155, allocations: 0.9772 MB / 0.8417 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.8155, allocations: 4 kB / 0.8417 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8155, allocations: 8 kB / 0.8417 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.8167, allocations: 195.9 kB / 0.8419 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/0.8167, allocations: 8 kB / 0.8419 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.8178, allocations: 111.2 kB / 0.842 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.8179, allocations: 31.98 kB / 0.8421 GB, free: 10.35 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (98): * Single equations (assignments): 94 * 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.0008197/0.8188, allocations: 396.9 kB / 0.8424 GB, free: 9.953 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.819, allocations: 98.83 kB / 0.8425 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.8225, allocations: 1.086 MB / 0.8436 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.8226, allocations: 12 kB / 0.8436 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-06/0.8226, allocations: 4 kB / 0.8436 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.8226, allocations: 3.984 kB / 0.8436 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.8249, allocations: 1.272 MB / 0.8449 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.8249, allocations: 4 kB / 0.8449 GB, free: 7.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.826, allocations: 167.8 kB / 0.845 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.8262, allocations: 24.84 kB / 0.845 GB, free: 7.199 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-05/0.8263, allocations: 31.97 kB / 0.8451 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.8276, allocations: 1.284 MB / 0.8463 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.215e-06/0.8277, allocations: 0 / 0.8463 GB, free: 5.754 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.8306, allocations: 0.9811 MB / 0.8473 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006738/0.8313, allocations: 331.5 kB / 0.8476 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.8315, allocations: 20 kB / 0.8476 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008946/0.8324, allocations: 83.86 kB / 0.8477 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.8326, allocations: 56.92 kB / 0.8478 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.8327, allocations: 39.97 kB / 0.8478 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001086/0.8338, allocations: 0.581 MB / 0.8484 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.91e-07/0.8338, allocations: 0 / 0.8484 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001974/0.8358, allocations: 0.5412 MB / 0.8489 GB, free: 3.074 MB / 0.6667 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.00217/0.838, allocations: 0.6749 MB / 0.8495 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004187/0.8422, allocations: 1.678 MB / 0.8512 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.8422, allocations: 0 / 0.8512 GB, free: 0.8398 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.8436, allocations: 0.524 MB / 0.8517 GB, free: 316 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.8449, allocations: 223.2 kB / 0.8519 GB, free: 92 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.85, allocations: 2.431 MB / 0.8543 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/0.851, allocations: 1.133 MB / 0.8554 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002261/0.8533, allocations: 414.3 kB / 0.8558 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.8537, allocations: 111.4 kB / 0.8559 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of SimCode: time 1.509e-06/0.8538, allocations: 0 / 0.8559 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of Templates: time 0.03757/0.8913, allocations: 14.3 MB / 0.8699 GB, free: 13.78 MB / 0.698 GB