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.006164/0.006163, allocations: 239.6 kB / 15.81 MB, free: 6.281 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.001776/0.001776, allocations: 179.9 kB / 16.69 MB, free: 5.449 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.267/4.267, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.494/4.494, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006478, allocations: 8 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1804, allocations: 98.72 MB / 1.105 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.WindTurbine): time 0.00874/0.1892, allocations: 5.813 MB / 1.11 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7871/0.9763, allocations: 137.6 MB / 1.245 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.9775, allocations: 18.88 kB / 1.245 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.9781, allocations: 177.7 kB / 1.245 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.9804, allocations: 0.5872 MB / 1.245 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.9835, allocations: 0.7435 MB / 1.246 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.9859, allocations: 1.522 MB / 1.248 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.9875, allocations: 0.836 MB / 1.248 GB, free: 1.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.9885, allocations: 442.1 kB / 1.249 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002007/0.9906, allocations: 0.544 MB / 1.249 GB, free: 0.8828 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004604/0.9911, allocations: 40 kB / 1.249 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.9937, allocations: 375.1 kB / 1.25 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.9948, allocations: 277.4 kB / 1.25 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.9956, allocations: 234.5 kB / 1.25 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/1, allocations: 1.381 MB / 1.252 GB, free: 192 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-05/1, allocations: 4 kB / 1.252 GB, free: 188 kB / 0.6198 GB Notification: Performance of FrontEnd: time 5.35e-06/1, allocations: 0 / 1.252 GB, free: 188 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.385e-05/1.001, allocations: 4 kB / 1.252 GB, free: 184 kB / 0.6198 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.006082/1.007, allocations: 1.453 MB / 1.253 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.106e-05/1.007, allocations: 8.75 kB / 1.253 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006422/1.013, allocations: 396.5 kB / 1.253 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00354/1.017, allocations: 0.8358 MB / 1.254 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/1.017, allocations: 71.47 kB / 1.254 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004125/1.017, allocations: 95.56 kB / 1.254 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00628/1.024, allocations: 1.207 MB / 1.256 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/1.024, allocations: 3.266 kB / 1.256 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/1.024, allocations: 44.89 kB / 1.256 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/1.024, allocations: 54.62 kB / 1.256 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008009/1.032, allocations: 1.418 MB / 1.257 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/1.051, allocations: 4.456 MB / 1.261 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/1.059, allocations: 0.9332 MB / 1.262 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/1.061, allocations: 387.4 kB / 1.263 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/1.063, allocations: 479.2 kB / 1.263 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002988/1.066, allocations: 0.5228 MB / 1.264 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 6.271e-06/1.066, allocations: 0 / 1.264 GB, free: 9.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=80): time 0.008073/1.074, allocations: 1.227 MB / 1.265 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/1.075, allocations: 268.3 kB / 1.265 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.077, allocations: 0.8359 MB / 1.266 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.078, allocations: 43.02 kB / 1.266 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007851/1.079, allocations: 495 kB / 1.266 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005822/1.079, allocations: 269.7 kB / 1.267 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/1.079, allocations: 19.53 kB / 1.267 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002234/1.08, allocations: 341.9 kB / 1.267 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.082, allocations: 331.5 kB / 1.267 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002598/1.085, allocations: 0.4934 MB / 1.268 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/1.087, allocations: 467.9 kB / 1.268 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.668e-05/1.087, allocations: 1.375 kB / 1.268 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.006222/1.093, allocations: 1.136 MB / 1.269 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002936/1.094, allocations: 255 kB / 1.27 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/1.094, allocations: 2.969 kB / 1.27 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006722/1.094, allocations: 35.7 kB / 1.27 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003152/1.098, allocations: 196.9 kB / 1.27 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001604/1.099, allocations: 1.292 MB / 1.271 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/1.101, allocations: 122.4 kB / 1.271 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.101, allocations: 44.41 kB / 1.271 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/1.101, allocations: 3.625 kB / 1.271 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003739/1.105, allocations: 1.025 MB / 1.272 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/1.105, allocations: 2.531 kB / 1.272 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.105, allocations: 11.14 kB / 1.272 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.107, allocations: 202.1 kB / 1.272 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/1.107, allocations: 11.97 kB / 1.272 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.109, allocations: 112.6 kB / 1.273 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.109, allocations: 43.16 kB / 1.273 GB, free: 3.676 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * 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.0009692/1.11, allocations: 395 kB / 1.273 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003191/1.11, allocations: 99.72 kB / 1.273 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005222/1.115, allocations: 1.072 MB / 1.274 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-05/1.115, allocations: 3.984 kB / 1.274 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.115, allocations: 1.125 kB / 1.274 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.117, allocations: 336.9 kB / 1.274 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005503/1.118, allocations: 17.78 kB / 1.274 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/1.12, allocations: 81.8 kB / 1.275 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/1.12, allocations: 60.89 kB / 1.275 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006559/1.127, allocations: 1.137 MB / 1.276 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008197/1.135, allocations: 1.628 MB / 1.277 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002215/1.137, allocations: 379.1 kB / 1.278 GB, free: 476 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002068/1.139, allocations: 0.5757 MB / 1.278 GB, free: 152 kB / 0.6355 GB Notification: Performance of Backend: time 1.964e-06/1.139, allocations: 3.938 kB / 1.278 GB, free: 148 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0138/1.153, allocations: 2.302 MB / 1.281 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of SimCode: time 0.01002/1.163, allocations: 2.73 MB / 1.283 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.08638/1.25, allocations: 21.25 MB / 1.304 GB, free: 11.81 MB / 0.6667 GB