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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.175/4.175, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.554e-05, allocations: 3.406 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2187, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.08/7.299, allocations: 2.22 GB / 2.855 GB, free: 81.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/7.299, allocations: 113.4 kB / 2.855 GB, free: 81.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2301/7.529, allocations: 60.49 MB / 2.914 GB, free: 29.79 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.653e-06/7.529, allocations: 3.938 kB / 2.914 GB, free: 29.78 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001187/7.529, allocations: 35.94 kB / 2.914 GB, free: 29.75 MB / 0.823 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.003492/7.533, allocations: 1.444 MB / 2.915 GB, free: 28.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/7.533, allocations: 12.03 kB / 2.915 GB, free: 28.21 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003997/7.533, allocations: 160.8 kB / 2.916 GB, free: 28.05 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004234/7.538, allocations: 421.7 kB / 2.916 GB, free: 27.63 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/7.54, allocations: 0.7523 MB / 2.917 GB, free: 26.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-05/7.54, allocations: 86.08 kB / 2.917 GB, free: 26.75 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/7.54, allocations: 100 kB / 2.917 GB, free: 26.65 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003151/7.544, allocations: 1.299 MB / 2.918 GB, free: 25.27 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/7.544, allocations: 0 / 2.918 GB, free: 25.27 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/7.544, allocations: 48 kB / 2.918 GB, free: 25.22 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-05/7.544, allocations: 57.92 kB / 2.918 GB, free: 25.17 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/7.548, allocations: 1.495 MB / 2.92 GB, free: 23.67 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/7.558, allocations: 4.776 MB / 2.924 GB, free: 18.64 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/7.56, allocations: 1.054 MB / 2.925 GB, free: 17.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/7.561, allocations: 449.2 kB / 2.926 GB, free: 17.13 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/7.562, allocations: 0.5541 MB / 2.926 GB, free: 16.46 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/7.564, allocations: 0.5887 MB / 2.927 GB, free: 15.85 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.268e-06/7.564, allocations: 0 / 2.927 GB, free: 15.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.004332/7.568, allocations: 1.478 MB / 2.928 GB, free: 14.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/7.568, allocations: 269.8 kB / 2.929 GB, free: 14.03 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/7.57, allocations: 0.8092 MB / 2.929 GB, free: 13.22 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002667/7.57, allocations: 45.8 kB / 2.93 GB, free: 13.17 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/7.571, allocations: 0.4962 MB / 2.93 GB, free: 12.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/7.571, allocations: 319.4 kB / 2.93 GB, free: 12.35 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/7.571, allocations: 20 kB / 2.93 GB, free: 12.33 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/7.571, allocations: 337.9 kB / 2.931 GB, free: 11.99 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/7.572, allocations: 373.9 kB / 2.931 GB, free: 11.62 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/7.573, allocations: 0.5522 MB / 2.932 GB, free: 11.01 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/7.575, allocations: 0.5152 MB / 2.932 GB, free: 10.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/7.575, allocations: 0 / 2.932 GB, free: 10.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003826/7.578, allocations: 1.357 MB / 2.933 GB, free: 9.094 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002755/7.579, allocations: 1.217 MB / 2.935 GB, free: 7.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/7.579, allocations: 4 kB / 2.935 GB, free: 7.766 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/7.58, allocations: 212.6 kB / 2.935 GB, free: 7.555 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/7.582, allocations: 227.6 kB / 2.935 GB, free: 7.332 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/7.583, allocations: 0.6459 MB / 2.936 GB, free: 6.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/7.585, allocations: 123.3 kB / 2.936 GB, free: 6.539 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/7.585, allocations: 43.98 kB / 2.936 GB, free: 6.496 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/7.585, allocations: 4.094 kB / 2.936 GB, free: 6.492 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002547/7.588, allocations: 1.082 MB / 2.937 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/7.588, allocations: 0 / 2.937 GB, free: 5.391 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/7.588, allocations: 8.375 kB / 2.937 GB, free: 5.383 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/7.59, allocations: 231.7 kB / 2.937 GB, free: 5.156 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/7.59, allocations: 7.984 kB / 2.937 GB, free: 5.148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/7.591, allocations: 111.5 kB / 2.937 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/7.591, allocations: 39.94 kB / 2.937 GB, free: 5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * 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.0003842/7.592, allocations: 164.7 kB / 2.937 GB, free: 4.832 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/7.592, allocations: 106.7 kB / 2.937 GB, free: 4.727 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/7.597, allocations: 1.399 MB / 2.939 GB, free: 3.312 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/7.597, allocations: 8 kB / 2.939 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/7.597, allocations: 11.94 kB / 2.939 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/7.597, allocations: 7.984 kB / 2.939 GB, free: 3.285 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006422/7.603, allocations: 2.704 MB / 2.942 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/7.603, allocations: 0 / 2.942 GB, free: 0.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/7.605, allocations: 207.9 kB / 2.942 GB, free: 304 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/7.606, allocations: 208.6 kB / 2.942 GB, free: 92 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002068/7.607, allocations: 31.97 kB / 2.942 GB, free: 60 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5563/8.163, allocations: 1.818 MB / 2.944 GB, free: 262.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.515e-05/8.163, allocations: 9.281 kB / 2.944 GB, free: 262.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/8.167, allocations: 1.478 MB / 2.945 GB, free: 262.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/8.168, allocations: 364 kB / 2.946 GB, free: 262.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/8.169, allocations: 22.34 kB / 2.946 GB, free: 262.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/8.171, allocations: 107.1 kB / 2.946 GB, free: 262.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000277/8.171, allocations: 78.05 kB / 2.946 GB, free: 262.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/8.171, allocations: 37.91 kB / 2.946 GB, free: 262.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001529/8.173, allocations: 0.6436 MB / 2.946 GB, free: 262.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.11e-07/8.173, allocations: 0 / 2.946 GB, free: 262.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002962/8.176, allocations: 0.5413 MB / 2.947 GB, free: 262.2 MB / 0.823 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) * 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.007013/8.183, allocations: 3.093 MB / 2.95 GB, free: 260.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004989/8.188, allocations: 1.833 MB / 2.952 GB, free: 260.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/8.188, allocations: 1.5 kB / 2.952 GB, free: 260.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/8.19, allocations: 0.6544 MB / 2.952 GB, free: 260.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/8.192, allocations: 230.8 kB / 2.953 GB, free: 260.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/8.199, allocations: 2.075 MB / 2.955 GB, free: 259.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/8.2, allocations: 1.185 MB / 2.956 GB, free: 259 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004135/8.205, allocations: 0.603 MB / 2.956 GB, free: 259 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/8.206, allocations: 449.7 kB / 2.957 GB, free: 259 MB / 0.823 GB Notification: Performance of SimCode: time 1.152e-06/8.206, allocations: 5.062 kB / 2.957 GB, free: 259 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08909/8.295, allocations: 26.77 MB / 2.983 GB, free: 257.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/8.295, allocations: 256.3 kB / 2.983 GB, free: 257.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.715/12.01, allocations: 0 / 2.983 GB, free: 257.2 MB / 0.823 GB