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_N.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_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",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.01095/0.01095, allocations: 106.4 kB / 15.06 MB, free: 6.031 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.001217/0.001217, allocations: 180.4 kB / 15.95 MB, free: 5.957 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.005/2.005, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.554/2.554, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004857, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7187, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.0308/0.7496, allocations: 18.21 MB / 0.7012 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2419/0.9916, allocations: 134.8 MB / 0.8328 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.9947, allocations: 55.75 kB / 0.8329 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.9976, allocations: 0.5128 MB / 0.8334 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008368/1.006, allocations: 1.577 MB / 0.8349 GB, free: 2.895 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00745/1.013, allocations: 1.489 MB / 0.8364 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007136/1.021, allocations: 2.499 MB / 0.8388 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/1.035, allocations: 5.68 MB / 0.8444 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/1.039, allocations: 1.304 MB / 0.8456 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/1.042, allocations: 1.378 MB / 0.847 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001092/1.044, allocations: 164 kB / 0.8471 GB, free: 6.293 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/1.047, allocations: 0.6087 MB / 0.8477 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002544/1.049, allocations: 1.177 MB / 0.8489 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/1.051, allocations: 0.66 MB / 0.8495 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/1.061, allocations: 5.413 MB / 0.8548 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/1.061, allocations: 0 / 0.8548 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.886e-06/1.061, allocations: 4 kB / 0.8548 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002058/1.061, allocations: 0 / 0.8548 GB, free: 14.41 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01199/1.073, allocations: 3.266 MB / 0.858 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.073, allocations: 12.03 kB / 0.858 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001846/1.075, allocations: 454.6 kB / 0.8585 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/1.086, allocations: 0.9867 MB / 0.8594 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009886/1.096, allocations: 2.133 MB / 0.8615 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/1.097, allocations: 226.1 kB / 0.8617 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/1.098, allocations: 299.9 kB / 0.862 GB, free: 6.879 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02091/1.119, allocations: 4.69 MB / 0.8666 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/1.12, allocations: 7.938 kB / 0.8666 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009246/1.121, allocations: 132 kB / 0.8667 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009143/1.121, allocations: 213.9 kB / 0.8669 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01983/1.141, allocations: 4.415 MB / 0.8712 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08643/1.228, allocations: 18.57 MB / 0.8894 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01153/1.239, allocations: 2.267 MB / 0.8916 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/1.241, allocations: 0.5585 MB / 0.8921 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003973/1.245, allocations: 1.227 MB / 0.8933 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=157): time 5.65e-06/1.245, allocations: 0 / 0.8933 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.06164/1.306, allocations: 10.64 MB / 0.9037 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/1.307, allocations: 334.4 kB / 0.904 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004258/1.311, allocations: 1.798 MB / 0.9058 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005313/1.312, allocations: 65.7 kB / 0.9059 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/1.313, allocations: 1.397 MB / 0.9072 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009491/1.314, allocations: 0.6354 MB / 0.9078 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/1.315, allocations: 44 kB / 0.9079 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002486/1.315, allocations: 385.9 kB / 0.9083 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003772/1.319, allocations: 1.199 MB / 0.9094 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/1.323, allocations: 1.71 MB / 0.9111 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/1.327, allocations: 1.57 MB / 0.9126 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.244e-05/1.327, allocations: 4 kB / 0.9126 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.5827/1.91, allocations: 4.899 MB / 0.9174 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00127/1.911, allocations: 5.037 MB / 0.9223 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.553e-05/1.912, allocations: 12.91 kB / 0.9223 GB, free: 201.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/1.927, allocations: 1.84 MB / 0.9241 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004485/1.932, allocations: 484.9 kB / 0.9246 GB, free: 201.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0267/1.958, allocations: 9.478 MB / 0.9339 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/1.962, allocations: 209.5 kB / 0.9341 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006706/1.963, allocations: 94.45 kB / 0.9341 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.963, allocations: 3.219 kB / 0.9342 GB, free: 196.2 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01807/1.981, allocations: 4.125 MB / 0.9382 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-05/1.981, allocations: 20.11 kB / 0.9382 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009406/1.991, allocations: 1.2 MB / 0.9394 GB, free: 194.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/1.995, allocations: 0.496 MB / 0.9399 GB, free: 194.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/2.013, allocations: 5.856 MB / 0.9456 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/2.017, allocations: 193.6 kB / 0.9458 GB, free: 191.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/2.017, allocations: 98.38 kB / 0.9459 GB, free: 191 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (228): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {3 13} Notification: Performance of prepare postOptimizeDAE: time 0.003453/2.021, allocations: 1.212 MB / 0.947 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/2.022, allocations: 218.5 kB / 0.9472 GB, free: 190.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02154/2.043, allocations: 4.633 MB / 0.9518 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.553e-05/2.043, allocations: 20.41 kB / 0.9518 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/2.043, allocations: 10.67 kB / 0.9518 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/2.043, allocations: 15.95 kB / 0.9518 GB, free: 187.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03153/2.075, allocations: 9.716 MB / 0.9613 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.375e-05/2.075, allocations: 11.62 kB / 0.9613 GB, free: 181.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003189/2.078, allocations: 379 kB / 0.9617 GB, free: 181.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01246/2.091, allocations: 1.695 MB / 0.9633 GB, free: 181 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004762/2.091, allocations: 55.09 kB / 0.9634 GB, free: 180.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02006/2.111, allocations: 9.082 MB / 0.9723 GB, free: 172.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/2.111, allocations: 11.94 kB / 0.9723 GB, free: 172 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0185/2.13, allocations: 5.141 MB / 0.9773 GB, free: 166.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/2.132, allocations: 0.673 MB / 0.9779 GB, free: 165.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/2.133, allocations: 44 kB / 0.978 GB, free: 165.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003495/2.136, allocations: 215.7 kB / 0.9782 GB, free: 165.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/2.137, allocations: 163 kB / 0.9783 GB, free: 165.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002551/2.137, allocations: 75.97 kB / 0.9784 GB, free: 165.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002492/2.14, allocations: 1.252 MB / 0.9796 GB, free: 164.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/2.14, allocations: 0 / 0.9796 GB, free: 164.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005765/2.146, allocations: 1.232 MB / 0.9808 GB, free: 163 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (173): * Single equations (assignments): 169 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {3 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.02127/2.167, allocations: 8.523 MB / 0.9892 GB, free: 154.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01753/2.185, allocations: 5.944 MB / 0.995 GB, free: 148.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/2.185, allocations: 0 / 0.995 GB, free: 148.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005456/2.19, allocations: 1.93 MB / 0.9969 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/2.194, allocations: 492.4 kB / 0.9973 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02306/2.217, allocations: 18.1 MB / 1.015 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003626/2.221, allocations: 2.442 MB / 1.017 GB, free: 124.9 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00567/2.226, allocations: 1.035 MB / 1.018 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/2.229, allocations: 1.198 MB / 1.02 GB, free: 122.7 MB / 0.7292 GB Notification: Performance of SimCode: time 1.733e-06/2.229, allocations: 0 / 1.02 GB, free: 122.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1694/2.399, allocations: 68.11 MB / 1.086 GB, free: 55.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/2.399, allocations: 320 kB / 1.086 GB, free: 54.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.699/7.098, allocations: 0 / 1.086 GB, free: 54.67 MB / 0.7292 GB