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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_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.01073/0.01073, allocations: 107.5 kB / 15.06 MB, free: 5.953 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.001192/0.001193, allocations: 187.5 kB / 15.95 MB, free: 5.902 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 1.977/1.977, allocations: 194.5 MB / 211.3 MB, free: 11.02 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.415/2.415, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004862/0.000486, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7661/0.7666, allocations: 98.7 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01176/0.7784, allocations: 6.857 MB / 0.6901 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2391/1.018, allocations: 128.9 MB / 0.816 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/1.019, allocations: 19.88 kB / 0.816 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/1.019, allocations: 187 kB / 0.8162 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/1.022, allocations: 0.6426 MB / 0.8168 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/1.026, allocations: 0.8065 MB / 0.8176 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002546/1.028, allocations: 1.005 MB / 0.8186 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0031/1.031, allocations: 1.25 MB / 0.8198 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009992/1.032, allocations: 454.2 kB / 0.8203 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/1.034, allocations: 481.9 kB / 0.8207 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/1.034, allocations: 40 kB / 0.8208 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001392/1.035, allocations: 407.4 kB / 0.8211 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004421/1.036, allocations: 291 kB / 0.8214 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003494/1.036, allocations: 249 kB / 0.8217 GB, free: 472 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/1.039, allocations: 1.541 MB / 0.8232 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/1.039, allocations: 0 / 0.8232 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.024e-06/1.039, allocations: 0 / 0.8232 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.508e-05/1.039, allocations: 0 / 0.8232 GB, free: 14.92 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.003992/1.043, allocations: 1.519 MB / 0.8246 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.043, allocations: 8.75 kB / 0.8247 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003714/1.043, allocations: 172.8 kB / 0.8248 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/1.047, allocations: 429.8 kB / 0.8252 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/1.05, allocations: 0.8713 MB / 0.8261 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/1.05, allocations: 78.08 kB / 0.8262 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/1.05, allocations: 111.8 kB / 0.8263 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004154/1.055, allocations: 1.347 MB / 0.8276 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/1.055, allocations: 3.984 kB / 0.8276 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/1.055, allocations: 44 kB / 0.8276 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/1.055, allocations: 65.98 kB / 0.8277 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/1.061, allocations: 1.584 MB / 0.8292 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/1.072, allocations: 4.788 MB / 0.8339 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/1.076, allocations: 1.151 MB / 0.835 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/1.078, allocations: 0.5543 MB / 0.8356 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/1.08, allocations: 0.6429 MB / 0.8362 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 4.047e-06/1.08, allocations: 0 / 0.8362 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.009774/1.09, allocations: 2.241 MB / 0.8384 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/1.09, allocations: 230.5 kB / 0.8386 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.091, allocations: 0.8255 MB / 0.8394 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.092, allocations: 49.7 kB / 0.8395 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/1.092, allocations: 0.5039 MB / 0.84 GB, free: 13 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/1.093, allocations: 315.3 kB / 0.8403 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/1.093, allocations: 20 kB / 0.8403 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.093, allocations: 337.9 kB / 0.8406 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/1.095, allocations: 421.8 kB / 0.841 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/1.097, allocations: 0.5897 MB / 0.8416 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/1.099, allocations: 0.5507 MB / 0.8421 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.099, allocations: 4 kB / 0.8421 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.006095/1.105, allocations: 1.478 MB / 0.8436 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000718/1.106, allocations: 1.313 MB / 0.8448 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.106, allocations: 4 kB / 0.8449 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002203/1.108, allocations: 264.5 kB / 0.8451 GB, free: 7.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/1.11, allocations: 223.6 kB / 0.8453 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005093/1.115, allocations: 2.03 MB / 0.8473 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/1.117, allocations: 112.9 kB / 0.8474 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/1.117, allocations: 47.97 kB / 0.8475 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.117, allocations: 4 kB / 0.8475 GB, free: 4.957 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004254/1.121, allocations: 1.172 MB / 0.8486 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/1.122, allocations: 8 kB / 0.8486 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.122, allocations: 11.95 kB / 0.8486 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.124, allocations: 227.9 kB / 0.8488 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/1.124, allocations: 11.92 kB / 0.8488 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/1.125, allocations: 119.3 kB / 0.849 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/1.125, allocations: 39.98 kB / 0.849 GB, free: 3.359 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.001053/1.127, allocations: 416.8 kB / 0.8494 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/1.127, allocations: 102.8 kB / 0.8495 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006214/1.133, allocations: 1.497 MB / 0.851 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/1.133, allocations: 8 kB / 0.851 GB, free: 1.312 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.133, allocations: 3.938 kB / 0.851 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/1.133, allocations: 7.984 kB / 0.851 GB, free: 1.301 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008776/1.142, allocations: 2.757 MB / 0.8537 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.142, allocations: 4 kB / 0.8537 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/1.144, allocations: 211.6 kB / 0.8539 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/1.145, allocations: 212.8 kB / 0.8541 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/1.146, allocations: 31.97 kB / 0.8541 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003475/1.149, allocations: 1.874 MB / 0.8559 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/1.149, allocations: 4.031 kB / 0.8559 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/1.155, allocations: 1.56 MB / 0.8575 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.156, allocations: 375.2 kB / 0.8578 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/1.156, allocations: 16 kB / 0.8578 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.158, allocations: 107.9 kB / 0.8579 GB, free: 9.852 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/1.158, allocations: 72.91 kB / 0.858 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/1.158, allocations: 35.98 kB / 0.858 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001277/1.16, allocations: 0.5966 MB / 0.8586 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/1.16, allocations: 0 / 0.8586 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002415/1.162, allocations: 499.8 kB / 0.8591 GB, free: 8.668 MB / 0.6823 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.008061/1.17, allocations: 3.188 MB / 0.8622 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006633/1.177, allocations: 2.061 MB / 0.8642 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.177, allocations: 4 kB / 0.8642 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/1.179, allocations: 0.6842 MB / 0.8649 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.181, allocations: 228.9 kB / 0.8651 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/1.191, allocations: 5.495 MB / 0.8705 GB, free: 12.92 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.192, allocations: 1.189 MB / 0.8716 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003156/1.195, allocations: 491.4 kB / 0.8721 GB, free: 11.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/1.196, allocations: 467.2 kB / 0.8726 GB, free: 10.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.196, allocations: 0 / 0.8726 GB, free: 10.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/1.319, allocations: 25.6 MB / 0.8976 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004059/1.319, allocations: 319.7 kB / 0.8979 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/4.834, allocations: 0 / 0.8979 GB, free: 1.059 MB / 0.7136 GB