Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01126/0.01126, allocations: 108.8 kB / 15.06 MB, free: 6.035 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.001182/0.001182, allocations: 180.9 kB / 15.95 MB, free: 5.949 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.009/2.009, allocations: 194.6 MB / 211.3 MB, free: 10.84 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.312/2.312, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005174/0.0005179, allocations: 16 kB / 0.587 GB, free: 1.965 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7149, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.03825/0.7532, allocations: 18.48 MB / 0.7015 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2719/1.025, allocations: 134.7 MB / 0.833 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/1.028, allocations: 51.81 kB / 0.8331 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/1.03, allocations: 0.5361 MB / 0.8336 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007801/1.038, allocations: 1.534 MB / 0.8351 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007115/1.045, allocations: 1.469 MB / 0.8365 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007527/1.053, allocations: 2.635 MB / 0.8391 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01417/1.067, allocations: 5.701 MB / 0.8447 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/1.071, allocations: 1.351 MB / 0.846 GB, free: 7.387 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/1.074, allocations: 1.428 MB / 0.8474 GB, free: 5.953 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0008461/1.075, allocations: 168 kB / 0.8475 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/1.078, allocations: 0.6243 MB / 0.8481 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002698/1.081, allocations: 1.235 MB / 0.8494 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/1.083, allocations: 0.6912 MB / 0.85 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01062/1.093, allocations: 5.682 MB / 0.8556 GB, free: 13.53 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.093, allocations: 3.938 kB / 0.8556 GB, free: 13.53 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.677e-06/1.093, allocations: 0 / 0.8556 GB, free: 13.53 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 0.000227/1.094, allocations: 0 / 0.8556 GB, free: 13.53 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.0118/1.106, allocations: 3.396 MB / 0.8589 GB, free: 10.03 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/1.106, allocations: 8.031 kB / 0.8589 GB, free: 10.02 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001748/1.107, allocations: 470.7 kB / 0.8594 GB, free: 9.547 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008251/1.116, allocations: 0.9593 MB / 0.8603 GB, free: 8.582 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007712/1.123, allocations: 2.28 MB / 0.8625 GB, free: 6.25 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/1.124, allocations: 230.1 kB / 0.8627 GB, free: 6.023 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/1.125, allocations: 307.9 kB / 0.863 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0158/1.141, allocations: 4.758 MB / 0.8677 GB, free: 0.8164 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/1.141, allocations: 3.938 kB / 0.8677 GB, free: 0.8125 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009708/1.142, allocations: 136 kB / 0.8678 GB, free: 0.6797 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008055/1.143, allocations: 218 kB / 0.868 GB, free: 476 kB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/1.163, allocations: 4.423 MB / 0.8723 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05303/1.216, allocations: 19.61 MB / 0.8915 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007811/1.224, allocations: 2.138 MB / 0.8936 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.225, allocations: 0.5624 MB / 0.8941 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00373/1.229, allocations: 1.268 MB / 0.8954 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=160): time 4.328e-06/1.229, allocations: 0 / 0.8954 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197): time 0.07371/1.303, allocations: 11.54 MB / 0.9066 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/1.303, allocations: 287 kB / 0.9069 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004912/1.308, allocations: 1.989 MB / 0.9089 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005767/1.309, allocations: 61.7 kB / 0.9089 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.312, allocations: 1.426 MB / 0.9103 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.314, allocations: 0.6624 MB / 0.911 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004933/1.314, allocations: 40 kB / 0.911 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003632/1.315, allocations: 377.9 kB / 0.9114 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007139/1.322, allocations: 1.238 MB / 0.9126 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5591/1.881, allocations: 1.675 MB / 0.9142 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005166/1.886, allocations: 1.594 MB / 0.9158 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/1.886, allocations: 3.062 kB / 0.9158 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.02982/1.916, allocations: 5.47 MB / 0.9211 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009541/1.917, allocations: 3.847 MB / 0.9249 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/1.917, allocations: 9.312 kB / 0.9249 GB, free: 201 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02181/1.939, allocations: 2.443 MB / 0.9273 GB, free: 200.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00437/1.943, allocations: 481.6 kB / 0.9277 GB, free: 200.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03235/1.976, allocations: 14.66 MB / 0.942 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004356/1.98, allocations: 207 kB / 0.9422 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000703/1.981, allocations: 90.45 kB / 0.9423 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.981, allocations: 4.125 kB / 0.9423 GB, free: 190.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02237/2.003, allocations: 4.528 MB / 0.9467 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.794e-05/2.004, allocations: 13.31 kB / 0.9468 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01384/2.017, allocations: 1.625 MB / 0.9483 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004316/2.022, allocations: 490.8 kB / 0.9488 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/2.043, allocations: 8.622 MB / 0.9572 GB, free: 180.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/2.047, allocations: 187.5 kB / 0.9574 GB, free: 180.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003798/2.047, allocations: 87.34 kB / 0.9575 GB, free: 180.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (232): * Single equations (assignments): 221 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.003176/2.05, allocations: 1.25 MB / 0.9587 GB, free: 179.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007538/2.051, allocations: 220.7 kB / 0.9589 GB, free: 179.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02459/2.076, allocations: 5.328 MB / 0.9641 GB, free: 177 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/2.076, allocations: 26.48 kB / 0.9641 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/2.076, allocations: 3.656 kB / 0.9642 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.789e-05/2.076, allocations: 11.91 kB / 0.9642 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03677/2.113, allocations: 10.01 MB / 0.9739 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/2.113, allocations: 8 kB / 0.9739 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003666/2.116, allocations: 403.4 kB / 0.9743 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01842/2.135, allocations: 2.269 MB / 0.9765 GB, free: 167 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005424/2.135, allocations: 55.97 kB / 0.9766 GB, free: 167 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02861/2.164, allocations: 14.26 MB / 0.9905 GB, free: 152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/2.164, allocations: 11.94 kB / 0.9905 GB, free: 151.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/2.188, allocations: 5.592 MB / 0.996 GB, free: 146 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/2.19, allocations: 0.7082 MB / 0.9967 GB, free: 145.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000847/2.191, allocations: 40 kB / 0.9967 GB, free: 145.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/2.195, allocations: 239.6 kB / 0.997 GB, free: 145 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008964/2.196, allocations: 161.6 kB / 0.9971 GB, free: 144.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003271/2.196, allocations: 75.97 kB / 0.9972 GB, free: 144.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002912/2.199, allocations: 1.396 MB / 0.9985 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/2.199, allocations: 0 / 0.9985 GB, free: 143.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006364/2.206, allocations: 1.254 MB / 0.9998 GB, free: 142.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (190): * Single equations (assignments): 182 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03962/2.245, allocations: 8.654 MB / 1.008 GB, free: 133.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02689/2.272, allocations: 6.694 MB / 1.015 GB, free: 126.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.79e-05/2.272, allocations: 0 / 1.015 GB, free: 126.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008422/2.281, allocations: 2.368 MB / 1.017 GB, free: 124.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005467/2.286, allocations: 0.5047 MB / 1.018 GB, free: 123.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/2.316, allocations: 16.26 MB / 1.033 GB, free: 107 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/2.322, allocations: 2.512 MB / 1.036 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01114/2.333, allocations: 1.024 MB / 1.037 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005087/2.338, allocations: 1.261 MB / 1.038 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.923e-06/2.338, allocations: 0 / 1.038 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2134/2.551, allocations: 74.05 MB / 1.11 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002988/2.552, allocations: 333.2 kB / 1.111 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.131/7.683, allocations: 0 / 1.111 GB, free: 28.23 MB / 0.7292 GB