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.01313/0.01313, allocations: 223 kB / 15.17 MB, free: 5.922 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.001206/0.001206, allocations: 180.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.932/3.932, allocations: 389 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.714/4.714, allocations: 472.3 MB / 0.9017 GB, free: 87.6 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.000487, allocations: 12.12 kB / 1.008 GB, free: 37.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2078, allocations: 98.72 MB / 1.104 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine): time 0.01402/0.2219, allocations: 7.045 MB / 1.111 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.8696/1.092, allocations: 138 MB / 1.246 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/1.093, allocations: 16.78 kB / 1.246 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000767/1.093, allocations: 183 kB / 1.246 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/1.096, allocations: 0.6373 MB / 1.247 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003495/1.1, allocations: 0.7962 MB / 1.247 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002862/1.103, allocations: 1.602 MB / 1.249 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/1.106, allocations: 1.247 MB / 1.25 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/1.107, allocations: 463.8 kB / 1.251 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/1.109, allocations: 0.5784 MB / 1.251 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003215/1.109, allocations: 38.66 kB / 1.251 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/1.111, allocations: 440.8 kB / 1.252 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006136/1.112, allocations: 301.8 kB / 1.252 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005205/1.112, allocations: 250.9 kB / 1.252 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/1.116, allocations: 1.541 MB / 1.254 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.116, allocations: 6.672 kB / 1.254 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.214e-06/1.116, allocations: 1.875 kB / 1.254 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.904e-05/1.116, allocations: 0 / 1.254 GB, free: 0.6328 MB / 0.6355 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.005606/1.122, allocations: 1.516 MB / 1.255 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.122, allocations: 8.969 kB / 1.255 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006728/1.122, allocations: 162.4 kB / 1.255 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/1.127, allocations: 434.7 kB / 1.256 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/1.13, allocations: 0.8642 MB / 1.257 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.13, allocations: 81.41 kB / 1.257 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/1.13, allocations: 100.5 kB / 1.257 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004964/1.135, allocations: 1.366 MB / 1.258 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/1.135, allocations: 1.438 kB / 1.258 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002094/1.136, allocations: 48.66 kB / 1.258 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/1.136, allocations: 64.19 kB / 1.258 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006299/1.142, allocations: 1.593 MB / 1.26 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/1.155, allocations: 4.794 MB / 1.264 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/1.16, allocations: 1.138 MB / 1.265 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/1.161, allocations: 482.8 kB / 1.266 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.163, allocations: 0.5506 MB / 1.266 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002298/1.165, allocations: 0.6479 MB / 1.267 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=94): time 5.06e-06/1.165, allocations: 0 / 1.267 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=95): time 0.01079/1.176, allocations: 2.248 MB / 1.269 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.176, allocations: 225.4 kB / 1.27 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/1.178, allocations: 0.8339 MB / 1.27 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003898/1.178, allocations: 46.55 kB / 1.27 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006079/1.179, allocations: 0.4901 MB / 1.271 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005257/1.18, allocations: 327.9 kB / 1.271 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.18, allocations: 19.03 kB / 1.271 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001811/1.18, allocations: 345.4 kB / 1.272 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.181, allocations: 415.5 kB / 1.272 GB, free: 9.891 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.183, allocations: 0.5881 MB / 1.272 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/1.185, allocations: 0.5556 MB / 1.273 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.185, allocations: 2.594 kB / 1.273 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00621/1.192, allocations: 1.479 MB / 1.274 GB, free: 9.051 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000268/1.192, allocations: 270.8 kB / 1.275 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.192, allocations: 11.39 kB / 1.275 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/1.194, allocations: 260.1 kB / 1.275 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002336/1.197, allocations: 225.9 kB / 1.275 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/1.202, allocations: 1.983 MB / 1.277 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/1.204, allocations: 116.4 kB / 1.277 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.204, allocations: 42.92 kB / 1.277 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/1.204, allocations: 5.938 kB / 1.277 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003864/1.208, allocations: 1.176 MB / 1.278 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.208, allocations: 2.938 kB / 1.278 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/1.208, allocations: 7.125 kB / 1.278 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/1.21, allocations: 230.2 kB / 1.279 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/1.21, allocations: 11.91 kB / 1.279 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.212, allocations: 111.5 kB / 1.279 GB, free: 6.656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/1.212, allocations: 43.73 kB / 1.279 GB, free: 6.652 MB / 0.6511 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.00112/1.213, allocations: 420.2 kB / 1.279 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/1.213, allocations: 110 kB / 1.279 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005868/1.219, allocations: 1.498 MB / 1.281 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.219, allocations: 8.75 kB / 1.281 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.219, allocations: 1.781 kB / 1.281 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/1.219, allocations: 3.984 kB / 1.281 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008384/1.228, allocations: 2.765 MB / 1.284 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.228, allocations: 3.344 kB / 1.284 GB, free: 4.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/1.23, allocations: 209.9 kB / 1.284 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/1.231, allocations: 208.4 kB / 1.284 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/1.231, allocations: 33.02 kB / 1.284 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/1.234, allocations: 1.832 MB / 1.286 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.234, allocations: 2.438 kB / 1.286 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/1.24, allocations: 1.477 MB / 1.287 GB, free: 2.758 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/1.241, allocations: 371 kB / 1.288 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/1.241, allocations: 23.12 kB / 1.288 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/1.243, allocations: 107 kB / 1.288 GB, free: 2.492 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.243, allocations: 71.2 kB / 1.288 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/1.244, allocations: 43.66 kB / 1.288 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001255/1.245, allocations: 0.5908 MB / 1.288 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.31e-07/1.245, allocations: 0 / 1.288 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002895/1.248, allocations: 494.7 kB / 1.289 GB, free: 2.25 MB / 0.6511 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.008017/1.256, allocations: 2.606 MB / 1.291 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.006989/1.263, allocations: 2.055 MB / 1.293 GB, free: 208 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.263, allocations: 0 / 1.293 GB, free: 208 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/1.265, allocations: 0.696 MB / 1.294 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/1.268, allocations: 249.6 kB / 1.294 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02265/1.291, allocations: 6.913 MB / 1.301 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/1.292, allocations: 1.191 MB / 1.302 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003261/1.295, allocations: 0.4889 MB / 1.303 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.296, allocations: 461.9 kB / 1.303 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of SimCode: time 8.21e-07/1.296, allocations: 2.562 kB / 1.303 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.407, allocations: 26.01 MB / 1.329 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003575/1.407, allocations: 325.3 kB / 1.329 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.762/5.169, allocations: 0 / 1.329 GB, free: 7.07 MB / 0.6823 GB