Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.00893/0.00893, allocations: 112 kB / 15.06 MB, free: 5.559 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.001113/0.001112, allocations: 181.6 kB / 15.95 MB, free: 5.52 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.094/2.094, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.517/2.517, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004813, allocations: 16 kB / 0.587 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5856, allocations: 98.71 MB / 0.6833 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.0103/0.596, allocations: 6.853 MB / 0.69 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2421/0.8382, allocations: 128.9 MB / 0.8159 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.8393, allocations: 19.88 kB / 0.816 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006142/0.8399, allocations: 183 kB / 0.8161 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.8427, allocations: 0.6543 MB / 0.8168 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005956/0.8487, allocations: 0.7948 MB / 0.8175 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004132/0.8529, allocations: 1.001 MB / 0.8185 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005373/0.8583, allocations: 1.25 MB / 0.8197 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.86, allocations: 458.2 kB / 0.8202 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.8617, allocations: 477.9 kB / 0.8206 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003137/0.8621, allocations: 40 kB / 0.8207 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.8645, allocations: 407.4 kB / 0.8211 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007725/0.8653, allocations: 299 kB / 0.8213 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006792/0.866, allocations: 249 kB / 0.8216 GB, free: 500 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004693/0.8708, allocations: 1.54 MB / 0.8231 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.555e-06/0.8708, allocations: 0 / 0.8231 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.474e-06/0.8708, allocations: 0 / 0.8231 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.474e-05/0.8709, allocations: 0 / 0.8231 GB, free: 14.95 MB / 0.6511 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.006289/0.8772, allocations: 1.519 MB / 0.8246 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/0.8773, allocations: 8.031 kB / 0.8246 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007143/0.8844, allocations: 425.8 kB / 0.825 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004307/0.8888, allocations: 0.8752 MB / 0.8258 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.889, allocations: 74.08 kB / 0.8259 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004994/0.8896, allocations: 104 kB / 0.826 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007408/0.897, allocations: 1.363 MB / 0.8273 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/0.8971, allocations: 0 / 0.8273 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/0.8975, allocations: 47.98 kB / 0.8274 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.8978, allocations: 65.98 kB / 0.8274 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009535/0.9073, allocations: 1.588 MB / 0.829 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01883/0.9262, allocations: 4.78 MB / 0.8337 GB, free: 3.652 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.9297, allocations: 1.143 MB / 0.8348 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009267/0.9307, allocations: 0.5543 MB / 0.8353 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.9324, allocations: 0.6429 MB / 0.836 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 5.068e-06/0.9324, allocations: 0 / 0.836 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.007365/0.9398, allocations: 2.245 MB / 0.8381 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.94, allocations: 226.6 kB / 0.8384 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.9416, allocations: 0.8333 MB / 0.8392 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.9418, allocations: 49.64 kB / 0.8392 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.9424, allocations: 0.4999 MB / 0.8397 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/0.9428, allocations: 319.3 kB / 0.84 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/0.9429, allocations: 20 kB / 0.84 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.9431, allocations: 341.9 kB / 0.8404 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.9444, allocations: 417.8 kB / 0.8408 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.946, allocations: 0.5897 MB / 0.8413 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.9475, allocations: 0.5546 MB / 0.8419 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.9476, allocations: 4 kB / 0.8419 GB, free: 10.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004614/0.9522, allocations: 1.47 MB / 0.8433 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007804/0.953, allocations: 1.316 MB / 0.8446 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.953, allocations: 4 kB / 0.8446 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.9545, allocations: 264.5 kB / 0.8449 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.956, allocations: 223.6 kB / 0.8451 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/0.9605, allocations: 2.039 MB / 0.8471 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.9618, allocations: 112.9 kB / 0.8472 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.962, allocations: 43.97 kB / 0.8472 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.962, allocations: 4 kB / 0.8472 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003327/0.9653, allocations: 1.176 MB / 0.8484 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.9654, allocations: 0 / 0.8484 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.9654, allocations: 8.328 kB / 0.8484 GB, free: 3.961 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.9669, allocations: 231.9 kB / 0.8486 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.9669, allocations: 15.92 kB / 0.8486 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.968, allocations: 115.3 kB / 0.8487 GB, free: 3.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.9682, allocations: 43.97 kB / 0.8488 GB, free: 3.562 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (111): * Single equations (assignments): 107 * 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.0009337/0.9691, allocations: 418 kB / 0.8492 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.9694, allocations: 102.8 kB / 0.8493 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004956/0.9744, allocations: 1.493 MB / 0.8507 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.9744, allocations: 12 kB / 0.8507 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.384e-06/0.9745, allocations: 0 / 0.8507 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/0.9745, allocations: 7.969 kB / 0.8507 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007105/0.9816, allocations: 2.757 MB / 0.8534 GB, free: 14.67 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.34e-06/0.9817, allocations: 4 kB / 0.8534 GB, free: 14.66 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.983, allocations: 207.7 kB / 0.8536 GB, free: 14.46 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.984, allocations: 212.8 kB / 0.8538 GB, free: 14.25 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.9842, allocations: 27.98 kB / 0.8539 GB, free: 14.22 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003072/0.9873, allocations: 1.87 MB / 0.8557 GB, free: 12.22 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.426e-06/0.9873, allocations: 4 kB / 0.8557 GB, free: 12.22 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004319/0.9917, allocations: 1.568 MB / 0.8572 GB, free: 10.57 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/0.9926, allocations: 371.2 kB / 0.8576 GB, free: 10.19 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.9928, allocations: 23.94 kB / 0.8576 GB, free: 10.16 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.994, allocations: 99.89 kB / 0.8577 GB, free: 10.07 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000224/0.9942, allocations: 80.89 kB / 0.8578 GB, free: 9.988 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.9944, allocations: 39.98 kB / 0.8578 GB, free: 9.949 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.001162/0.9955, allocations: 0.5927 MB / 0.8584 GB, free: 9.363 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8.71e-07/0.9956, allocations: 0 / 0.8584 GB, free: 9.363 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.002158/0.9977, allocations: 496 kB / 0.8589 GB, free: 8.879 MB / 0.6824 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.002349/1, allocations: 0.675 MB / 0.8595 GB, free: 8.395 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.005476/1.006, allocations: 2.061 MB / 0.8615 GB, free: 6.25 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 9.161e-06/1.006, allocations: 0 / 0.8615 GB, free: 6.25 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/1.008, allocations: 0.6959 MB / 0.8622 GB, free: 5.547 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.009, allocations: 229.1 kB / 0.8624 GB, free: 5.324 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006028/1.015, allocations: 2.764 MB / 0.8651 GB, free: 2.504 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/1.017, allocations: 1.193 MB / 0.8663 GB, free: 1.281 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.002725/1.019, allocations: 0.4915 MB / 0.8668 GB, free: 0.7852 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008388/1.02, allocations: 115.4 kB / 0.8669 GB, free: 0.6719 MB / 0.6824 GB Notification: Performance of SimCode: time 2.171e-06/1.02, allocations: 0 / 0.8669 GB, free: 0.6719 MB / 0.6824 GB Notification: Performance of Templates: time 0.04321/1.063, allocations: 16.85 MB / 0.8833 GB, free: 15.96 MB / 0.7136 GB