Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.004312/0.004316, allocations: 234.9 kB / 15.8 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.001159/0.001159, allocations: 184.2 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 3.94/3.94, 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.556/4.556, allocations: 472.3 MB / 0.9024 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005012, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1796, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.008963/0.1886, allocations: 6.105 MB / 1.111 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.8382/1.027, allocations: 138 MB / 1.245 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/1.028, allocations: 16.5 kB / 1.245 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007272/1.029, allocations: 182.7 kB / 1.246 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002815/1.032, allocations: 0.644 MB / 1.246 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/1.035, allocations: 0.7905 MB / 1.247 GB, free: 1.879 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002638/1.038, allocations: 1.596 MB / 1.248 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00327/1.041, allocations: 1.24 MB / 1.25 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/1.042, allocations: 462.2 kB / 1.25 GB, free: 344 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/1.044, allocations: 0.5803 MB / 1.251 GB, free: 112 kB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/1.044, allocations: 40 kB / 1.251 GB, free: 112 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/1.045, allocations: 427 kB / 1.251 GB, free: 16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004384/1.046, allocations: 310.8 kB / 1.251 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004181/1.046, allocations: 245.8 kB / 1.252 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002929/1.049, allocations: 1.541 MB / 1.253 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/1.049, allocations: 0 / 1.253 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.415e-06/1.049, allocations: 0 / 1.253 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.097e-05/1.049, allocations: 0 / 1.253 GB, free: 15.36 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.004436/1.054, allocations: 1.518 MB / 1.255 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.054, allocations: 8.125 kB / 1.255 GB, free: 14.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/1.058, allocations: 424.9 kB / 1.255 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002649/1.061, allocations: 0.8714 MB / 1.256 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/1.061, allocations: 77.33 kB / 1.256 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/1.061, allocations: 100.5 kB / 1.256 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/1.066, allocations: 1.371 MB / 1.257 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.423e-05/1.066, allocations: 2.875 kB / 1.257 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/1.066, allocations: 46.97 kB / 1.257 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001517/1.066, allocations: 70.73 kB / 1.258 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005464/1.072, allocations: 1.587 MB / 1.259 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/1.089, allocations: 4.791 MB / 1.264 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007382/1.096, allocations: 1.138 MB / 1.265 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002934/1.099, allocations: 474.7 kB / 1.265 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001786/1.101, allocations: 0.5519 MB / 1.266 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003583/1.105, allocations: 0.6509 MB / 1.267 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=94): time 8.265e-06/1.105, allocations: 0 / 1.267 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95): time 0.01612/1.121, allocations: 2.253 MB / 1.269 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/1.121, allocations: 223.1 kB / 1.269 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/1.124, allocations: 0.8347 MB / 1.27 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004294/1.124, allocations: 43.17 kB / 1.27 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/1.125, allocations: 0.4912 MB / 1.27 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008582/1.126, allocations: 323.3 kB / 1.271 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/1.126, allocations: 20.41 kB / 1.271 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002478/1.127, allocations: 343.2 kB / 1.271 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002961/1.13, allocations: 435.1 kB / 1.271 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/1.133, allocations: 0.6087 MB / 1.272 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.137, allocations: 0.5723 MB / 1.272 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.137, allocations: 1.156 kB / 1.272 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0102/1.147, allocations: 1.526 MB / 1.274 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003167/1.147, allocations: 263.3 kB / 1.274 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/1.147, allocations: 3.438 kB / 1.274 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/1.151, allocations: 269.1 kB / 1.274 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003658/1.154, allocations: 240.6 kB / 1.275 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007417/1.162, allocations: 1.979 MB / 1.277 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/1.165, allocations: 125.5 kB / 1.277 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003961/1.166, allocations: 43.61 kB / 1.277 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.166, allocations: 4.281 kB / 1.277 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007137/1.173, allocations: 1.223 MB / 1.278 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/1.173, allocations: 4.031 kB / 1.278 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.173, allocations: 10.84 kB / 1.278 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/1.176, allocations: 244.3 kB / 1.278 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.748e-05/1.176, allocations: 7.688 kB / 1.278 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.179, allocations: 108.8 kB / 1.278 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003072/1.179, allocations: 48.2 kB / 1.278 GB, free: 15.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (119): * Single equations (assignments): 115 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00169/1.181, allocations: 424.4 kB / 1.279 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/1.182, allocations: 105.9 kB / 1.279 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009932/1.192, allocations: 1.489 MB / 1.28 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.508e-05/1.192, allocations: 3.984 kB / 1.28 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.192, allocations: 0.625 kB / 1.28 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/1.194, allocations: 369.6 kB / 1.281 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/1.194, allocations: 24.94 kB / 1.281 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002596/1.197, allocations: 109.3 kB / 1.281 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/1.197, allocations: 76.23 kB / 1.281 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009492/1.207, allocations: 1.393 MB / 1.282 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01084/1.218, allocations: 1.909 MB / 1.284 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003897/1.222, allocations: 490.1 kB / 1.285 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001505/1.223, allocations: 0.5918 MB / 1.285 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of Backend: time 6.11e-07/1.223, allocations: 0 / 1.285 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009959/1.233, allocations: 2.602 MB / 1.288 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of SimCode: time 0.007065/1.24, allocations: 2.941 MB / 1.291 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of Templates: time 0.07024/1.311, allocations: 24.32 MB / 1.314 GB, free: 1.125 MB / 0.6667 GB