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.01247/0.01247, allocations: 221.4 kB / 15.17 MB, free: 5.93 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.00116/0.00116, allocations: 175.5 kB / 16.06 MB, free: 5.828 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.802/3.802, allocations: 389.1 MB / 405.9 MB, free: 6.691 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.345/4.345, allocations: 472.3 MB / 0.9017 GB, free: 10.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008083/0.0008087, allocations: 20 kB / 1.008 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1775, allocations: 98.69 MB / 1.104 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.00962/0.1872, allocations: 6.109 MB / 1.11 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.6845/0.8718, allocations: 138 MB / 1.245 GB, free: 177.4 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008054/0.8726, allocations: 21.09 kB / 1.245 GB, free: 177.4 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.8732, allocations: 181.5 kB / 1.245 GB, free: 177.3 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.8752, allocations: 0.6411 MB / 1.246 GB, free: 177 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.878, allocations: 0.7883 MB / 1.246 GB, free: 176.6 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.8802, allocations: 1.608 MB / 1.248 GB, free: 175.9 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.8826, allocations: 1.244 MB / 1.249 GB, free: 175.3 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.8835, allocations: 467.9 kB / 1.25 GB, free: 175.1 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009707/0.8845, allocations: 0.5709 MB / 1.25 GB, free: 174.9 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.8846, allocations: 43.16 kB / 1.25 GB, free: 174.9 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.886, allocations: 437.5 kB / 1.251 GB, free: 174.8 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.00041/0.8864, allocations: 303.7 kB / 1.251 GB, free: 174.6 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.8867, allocations: 252.2 kB / 1.251 GB, free: 174.5 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002493/0.8892, allocations: 1.542 MB / 1.253 GB, free: 174.1 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.8893, allocations: 0 / 1.253 GB, free: 174.1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8893, allocations: 0 / 1.253 GB, free: 174.1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.924e-05/0.8893, allocations: 1.438 kB / 1.253 GB, free: 174.1 MB / 0.7917 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.003156/0.8925, allocations: 1.513 MB / 1.254 GB, free: 173 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.8926, allocations: 8.844 kB / 1.254 GB, free: 173 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.8959, allocations: 425.3 kB / 1.254 GB, free: 172.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.8979, allocations: 0.8738 MB / 1.255 GB, free: 172.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.316e-05/0.898, allocations: 79.44 kB / 1.255 GB, free: 172.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002407/0.8983, allocations: 101.4 kB / 1.256 GB, free: 172.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.9017, allocations: 1.363 MB / 1.257 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.9018, allocations: 5.062 kB / 1.257 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.9019, allocations: 50.84 kB / 1.257 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.9021, allocations: 63.52 kB / 1.257 GB, free: 171.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/0.9061, allocations: 1.59 MB / 1.259 GB, free: 171.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008327/0.9144, allocations: 4.786 MB / 1.263 GB, free: 168 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.9175, allocations: 1.143 MB / 1.264 GB, free: 167.6 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.9187, allocations: 484.3 kB / 1.265 GB, free: 167.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007211/0.9194, allocations: 0.5489 MB / 1.265 GB, free: 166.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/0.9209, allocations: 0.6467 MB / 1.266 GB, free: 166.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=94): time 4.038e-06/0.9209, allocations: 0 / 1.266 GB, free: 166.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=95): time 0.006656/0.9276, allocations: 2.252 MB / 1.268 GB, free: 165.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.9277, allocations: 215.8 kB / 1.268 GB, free: 165.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.929, allocations: 0.8365 MB / 1.269 GB, free: 164.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.9291, allocations: 53.8 kB / 1.269 GB, free: 164.8 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003585/0.9295, allocations: 0.4937 MB / 1.27 GB, free: 164.4 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.9298, allocations: 319.3 kB / 1.27 GB, free: 164.1 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.9299, allocations: 19.38 kB / 1.27 GB, free: 164.1 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/0.93, allocations: 345.5 kB / 1.27 GB, free: 163.8 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.9311, allocations: 438.5 kB / 1.271 GB, free: 163.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.9324, allocations: 0.6087 MB / 1.271 GB, free: 163.1 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.9337, allocations: 0.5644 MB / 1.272 GB, free: 162.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.9337, allocations: 6.688 kB / 1.272 GB, free: 162.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00414/0.9379, allocations: 1.523 MB / 1.273 GB, free: 162 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.938, allocations: 270.1 kB / 1.274 GB, free: 161.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.938, allocations: 2.906 kB / 1.274 GB, free: 161.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.9394, allocations: 260.3 kB / 1.274 GB, free: 161.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.9407, allocations: 244.2 kB / 1.274 GB, free: 161.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.9439, allocations: 1.978 MB / 1.276 GB, free: 159.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.9452, allocations: 120.6 kB / 1.276 GB, free: 159.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.9453, allocations: 49.03 kB / 1.276 GB, free: 159.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.801e-06/0.9454, allocations: 2.969 kB / 1.276 GB, free: 159.7 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/0.9482, allocations: 1.221 MB / 1.277 GB, free: 159.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.461e-06/0.9482, allocations: 2.969 kB / 1.277 GB, free: 159.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.9483, allocations: 7.875 kB / 1.277 GB, free: 159.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.9495, allocations: 240.4 kB / 1.278 GB, free: 159 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.9496, allocations: 14.03 kB / 1.278 GB, free: 159 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.9507, allocations: 113.4 kB / 1.278 GB, free: 158.9 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.9508, allocations: 52.06 kB / 1.278 GB, free: 158.9 MB / 0.7917 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.0008494/0.9517, allocations: 422.2 kB / 1.278 GB, free: 158.6 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.9519, allocations: 107.1 kB / 1.278 GB, free: 158.5 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004334/0.9563, allocations: 1.482 MB / 1.28 GB, free: 157.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.9563, allocations: 18.8 kB / 1.28 GB, free: 157.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-06/0.9563, allocations: 0 / 1.28 GB, free: 157.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.9564, allocations: 3.984 kB / 1.28 GB, free: 157.7 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/0.9623, allocations: 2.754 MB / 1.282 GB, free: 155.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.403e-06/0.9624, allocations: 4.781 kB / 1.283 GB, free: 155.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.9635, allocations: 202.4 kB / 1.283 GB, free: 155.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008943/0.9644, allocations: 209.1 kB / 1.283 GB, free: 155.8 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.9646, allocations: 30.81 kB / 1.283 GB, free: 155.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.9668, allocations: 1.832 MB / 1.285 GB, free: 154.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.243e-06/0.9668, allocations: 6.812 kB / 1.285 GB, free: 154.1 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.9704, allocations: 1.478 MB / 1.286 GB, free: 153.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006921/0.9711, allocations: 365.5 kB / 1.287 GB, free: 152.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.9714, allocations: 24 kB / 1.287 GB, free: 152.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.9725, allocations: 105.3 kB / 1.287 GB, free: 152.8 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.9727, allocations: 76.86 kB / 1.287 GB, free: 152.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.9729, allocations: 39.98 kB / 1.287 GB, free: 152.6 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0008975/0.9738, allocations: 0.5849 MB / 1.287 GB, free: 152.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.25e-07/0.9738, allocations: 7.875 kB / 1.287 GB, free: 152.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001992/0.9758, allocations: 0.4961 MB / 1.288 GB, free: 151.6 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (101): * Single equations (assignments): 98 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002068/0.9779, allocations: 0.6712 MB / 1.288 GB, free: 151.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004382/0.9823, allocations: 2.131 MB / 1.291 GB, free: 149 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.879e-06/0.9823, allocations: 0 / 1.291 GB, free: 149 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.9839, allocations: 0.6934 MB / 1.291 GB, free: 148.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.9857, allocations: 254.3 kB / 1.291 GB, free: 148.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.9903, allocations: 2.787 MB / 1.294 GB, free: 145.2 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/0.9911, allocations: 1.185 MB / 1.295 GB, free: 144 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00237/0.9935, allocations: 491.4 kB / 1.296 GB, free: 143.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004539/0.994, allocations: 115.4 kB / 1.296 GB, free: 143.5 MB / 0.7917 GB Notification: Performance of SimCode: time 1.463e-06/0.994, allocations: 0 / 1.296 GB, free: 143.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.03776/1.032, allocations: 16.85 MB / 1.312 GB, free: 127.1 MB / 0.7917 GB