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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.544/4.544, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/3.026e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.659, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.077/7.736, allocations: 2.219 GB / 2.848 GB, free: 154.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/7.737, allocations: 104.7 kB / 2.848 GB, free: 154.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.233/7.97, allocations: 60.08 MB / 2.907 GB, free: 103.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.716e-06/7.97, allocations: 0 / 2.907 GB, free: 103.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001314/7.97, allocations: 31.94 kB / 2.907 GB, free: 103.4 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.003968/7.974, allocations: 1.452 MB / 2.909 GB, free: 101.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/7.974, allocations: 8.031 kB / 2.909 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/7.978, allocations: 413.7 kB / 2.909 GB, free: 101.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/7.981, allocations: 0.7601 MB / 2.91 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/7.981, allocations: 32 kB / 2.91 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002357/7.981, allocations: 60 kB / 2.91 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003342/7.984, allocations: 1.37 MB / 2.911 GB, free: 99.18 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/7.987, allocations: 1.144 MB / 2.912 GB, free: 97.95 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/7.987, allocations: 7.938 kB / 2.912 GB, free: 97.94 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/7.987, allocations: 4 kB / 2.912 GB, free: 97.94 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-05/7.987, allocations: 53.97 kB / 2.912 GB, free: 97.88 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/7.999, allocations: 4.597 MB / 2.917 GB, free: 93.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/8.001, allocations: 0.9889 MB / 2.918 GB, free: 92.05 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/8.002, allocations: 412.5 kB / 2.918 GB, free: 91.64 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/8.003, allocations: 0.554 MB / 2.919 GB, free: 90.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/8.004, allocations: 0.5676 MB / 2.919 GB, free: 90.39 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.439e-06/8.004, allocations: 0 / 2.919 GB, free: 90.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.009942/8.014, allocations: 1.778 MB / 2.921 GB, free: 88.59 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/8.015, allocations: 277.8 kB / 2.921 GB, free: 88.25 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/8.016, allocations: 0.7268 MB / 2.922 GB, free: 87.52 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002544/8.016, allocations: 25.7 kB / 2.922 GB, free: 87.49 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/8.017, allocations: 0.5077 MB / 2.923 GB, free: 86.98 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000375/8.017, allocations: 303.4 kB / 2.923 GB, free: 86.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/8.017, allocations: 0 / 2.923 GB, free: 86.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000151/8.017, allocations: 398.7 kB / 2.923 GB, free: 86.28 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008389/8.018, allocations: 358.5 kB / 2.924 GB, free: 85.93 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009283/8.019, allocations: 0.5334 MB / 2.924 GB, free: 85.33 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/8.026, allocations: 0.8336 MB / 2.925 GB, free: 84.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/8.026, allocations: 0 / 2.925 GB, free: 84.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.009344/8.035, allocations: 1.578 MB / 2.926 GB, free: 82.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002763/8.036, allocations: 1.218 MB / 2.928 GB, free: 81.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/8.036, allocations: 4 kB / 2.928 GB, free: 81.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/8.037, allocations: 124.7 kB / 2.928 GB, free: 81.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/8.039, allocations: 227.7 kB / 2.928 GB, free: 81.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007624/8.04, allocations: 0.6498 MB / 2.929 GB, free: 80.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/8.041, allocations: 95.42 kB / 2.929 GB, free: 80.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/8.042, allocations: 43.97 kB / 2.929 GB, free: 80.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/8.042, allocations: 4 kB / 2.929 GB, free: 80.41 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008246/8.05, allocations: 1.334 MB / 2.93 GB, free: 79.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/8.05, allocations: 0 / 2.93 GB, free: 79.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/8.05, allocations: 8.375 kB / 2.93 GB, free: 79.07 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/8.052, allocations: 227.7 kB / 2.93 GB, free: 78.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/8.052, allocations: 7.938 kB / 2.93 GB, free: 78.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/8.054, allocations: 99.3 kB / 2.93 GB, free: 78.74 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/8.054, allocations: 39.98 kB / 2.93 GB, free: 78.7 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.0003774/8.054, allocations: 132.8 kB / 2.93 GB, free: 78.56 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009225/8.063, allocations: 1.468 MB / 2.932 GB, free: 77.09 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/8.064, allocations: 106.9 kB / 2.932 GB, free: 76.98 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/8.074, allocations: 1.73 MB / 2.934 GB, free: 75.24 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/8.074, allocations: 12 kB / 2.934 GB, free: 75.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/8.074, allocations: 4 kB / 2.934 GB, free: 75.22 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/8.074, allocations: 3.984 kB / 2.934 GB, free: 75.22 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/8.086, allocations: 2.908 MB / 2.937 GB, free: 72.24 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/8.086, allocations: 4 kB / 2.937 GB, free: 72.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/8.088, allocations: 195.7 kB / 2.937 GB, free: 72.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/8.089, allocations: 212.8 kB / 2.937 GB, free: 71.83 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/8.089, allocations: 19.98 kB / 2.937 GB, free: 71.81 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/8.092, allocations: 1.76 MB / 2.939 GB, free: 69.94 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/8.092, allocations: 4 kB / 2.939 GB, free: 69.93 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009494/8.102, allocations: 1.834 MB / 2.94 GB, free: 68.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008954/8.102, allocations: 367.4 kB / 2.941 GB, free: 67.64 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/8.103, allocations: 4 kB / 2.941 GB, free: 67.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/8.104, allocations: 91.81 kB / 2.941 GB, free: 67.54 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002225/8.105, allocations: 72.69 kB / 2.941 GB, free: 67.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/8.105, allocations: 39.98 kB / 2.941 GB, free: 67.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009787/8.106, allocations: 0.5733 MB / 2.942 GB, free: 66.87 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.352e-06/8.106, allocations: 0 / 2.942 GB, free: 66.87 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002222/8.108, allocations: 491.8 kB / 2.942 GB, free: 66.39 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.01123/8.119, allocations: 3.394 MB / 2.945 GB, free: 62.97 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003555/8.123, allocations: 1.758 MB / 2.947 GB, free: 61.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/8.123, allocations: 4 kB / 2.947 GB, free: 61.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/8.124, allocations: 0.6193 MB / 2.948 GB, free: 60.51 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/8.126, allocations: 217.8 kB / 2.948 GB, free: 60.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005681/8.132, allocations: 1.981 MB / 2.95 GB, free: 58.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/8.133, allocations: 1.19 MB / 2.951 GB, free: 57.04 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003477/8.136, allocations: 0.5923 MB / 2.952 GB, free: 56.44 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009498/8.137, allocations: 447.3 kB / 2.952 GB, free: 56 MB / 0.823 GB Notification: Performance of SimCode: time 1.122e-06/8.137, allocations: 3.938 kB / 2.952 GB, free: 56 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09509/8.232, allocations: 24.99 MB / 2.976 GB, free: 31.15 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/8.233, allocations: 204.6 kB / 2.977 GB, free: 30.88 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.74/11.97, allocations: 4 kB / 2.977 GB, free: 30.88 MB / 0.823 GB