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.8 kB / 15.05 MB, free: 5.973 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.001136/0.001136, allocations: 182.3 kB / 15.94 MB, free: 5.934 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.14/2.14, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.257/2.257, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007821/0.000782, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.6745, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.928/7.602, allocations: 2.21 GB / 2.893 GB, free: 182.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003738/7.603, allocations: 110.4 kB / 2.894 GB, free: 182.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2306/7.833, allocations: 60.97 MB / 2.953 GB, free: 130.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.856e-06/7.833, allocations: 0 / 2.953 GB, free: 130.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001153/7.833, allocations: 28 kB / 2.953 GB, free: 130.9 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.004043/7.837, allocations: 1.599 MB / 2.955 GB, free: 129.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/7.837, allocations: 12.03 kB / 2.955 GB, free: 129.3 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005218/7.838, allocations: 167.6 kB / 2.955 GB, free: 129.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004378/7.842, allocations: 416.1 kB / 2.955 GB, free: 128.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002136/7.845, allocations: 0.7624 MB / 2.956 GB, free: 128.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/7.845, allocations: 77.83 kB / 2.956 GB, free: 128.1 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002416/7.845, allocations: 112.5 kB / 2.956 GB, free: 128 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/7.849, allocations: 1.349 MB / 2.958 GB, free: 126.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.156e-05/7.849, allocations: 11.92 kB / 2.958 GB, free: 126.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/7.849, allocations: 46.86 kB / 2.958 GB, free: 126.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.93e-05/7.849, allocations: 52.98 kB / 2.958 GB, free: 126.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006394/7.855, allocations: 1.597 MB / 2.959 GB, free: 125.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/7.868, allocations: 4.787 MB / 2.964 GB, free: 120.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005669/7.874, allocations: 1.175 MB / 2.965 GB, free: 119.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/7.875, allocations: 0.5503 MB / 2.966 GB, free: 119 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002595/7.878, allocations: 0.6429 MB / 2.966 GB, free: 118.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 5.18e-06/7.878, allocations: 0 / 2.966 GB, free: 118.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.01055/7.888, allocations: 2.186 MB / 2.968 GB, free: 116.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/7.888, allocations: 270 kB / 2.969 GB, free: 115.8 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/7.891, allocations: 0.813 MB / 2.969 GB, free: 115 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/7.891, allocations: 45.7 kB / 2.969 GB, free: 114.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/7.892, allocations: 0.4961 MB / 2.97 GB, free: 114.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/7.892, allocations: 323.4 kB / 2.97 GB, free: 114.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/7.892, allocations: 16 kB / 2.97 GB, free: 114.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001148/7.892, allocations: 345.9 kB / 2.971 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/7.894, allocations: 425.7 kB / 2.971 GB, free: 113.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/7.897, allocations: 0.5989 MB / 2.972 GB, free: 112.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/7.899, allocations: 0.5546 MB / 2.972 GB, free: 112.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/7.899, allocations: 4 kB / 2.972 GB, free: 112.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00667/7.906, allocations: 1.455 MB / 2.973 GB, free: 110.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003561/7.906, allocations: 1.221 MB / 2.975 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/7.906, allocations: 0 / 2.975 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001885/7.908, allocations: 216.5 kB / 2.975 GB, free: 109.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/7.911, allocations: 223.7 kB / 2.975 GB, free: 108.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000969/7.912, allocations: 0.642 MB / 2.976 GB, free: 108.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/7.914, allocations: 115.5 kB / 2.976 GB, free: 108.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/7.914, allocations: 39.98 kB / 2.976 GB, free: 108 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/7.914, allocations: 4 kB / 2.976 GB, free: 108 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004839/7.919, allocations: 1.176 MB / 2.977 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/7.919, allocations: 4 kB / 2.977 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/7.919, allocations: 7.984 kB / 2.977 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/7.921, allocations: 231.9 kB / 2.977 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/7.921, allocations: 8 kB / 2.977 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/7.923, allocations: 115.3 kB / 2.977 GB, free: 106.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/7.924, allocations: 43.98 kB / 2.977 GB, free: 106.4 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 () * Number of clocked 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.001215/7.925, allocations: 420.8 kB / 2.978 GB, free: 106 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003882/7.925, allocations: 106.9 kB / 2.978 GB, free: 105.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007514/7.933, allocations: 1.5 MB / 2.979 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/7.933, allocations: 8 kB / 2.979 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/7.933, allocations: 7.984 kB / 2.979 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/7.933, allocations: 3.984 kB / 2.979 GB, free: 104.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007599/7.941, allocations: 2.811 MB / 2.982 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/7.941, allocations: 4 kB / 2.982 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/7.942, allocations: 207.7 kB / 2.982 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/7.944, allocations: 216.7 kB / 2.983 GB, free: 101.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/7.944, allocations: 31.98 kB / 2.983 GB, free: 101 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/7.947, allocations: 1.87 MB / 2.984 GB, free: 99.02 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/7.947, allocations: 4 kB / 2.984 GB, free: 99.02 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/7.952, allocations: 1.576 MB / 2.986 GB, free: 97.36 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009791/7.953, allocations: 367.3 kB / 2.986 GB, free: 96.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/7.953, allocations: 24 kB / 2.986 GB, free: 96.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/7.954, allocations: 99.89 kB / 2.986 GB, free: 96.86 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/7.955, allocations: 80.78 kB / 2.987 GB, free: 96.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/7.955, allocations: 43.98 kB / 2.987 GB, free: 96.74 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001204/7.956, allocations: 0.6552 MB / 2.987 GB, free: 96.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.3e-07/7.956, allocations: 0 / 2.987 GB, free: 96.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002369/7.958, allocations: 0.531 MB / 2.988 GB, free: 95.56 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) * 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.007/7.965, allocations: 3.239 MB / 2.991 GB, free: 92.44 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005798/7.971, allocations: 1.949 MB / 2.993 GB, free: 90.42 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/7.971, allocations: 8.188 kB / 2.993 GB, free: 90.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/7.973, allocations: 0.6995 MB / 2.993 GB, free: 89.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/7.975, allocations: 236.8 kB / 2.994 GB, free: 89.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00804/7.983, allocations: 5.499 MB / 2.999 GB, free: 83.85 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008151/7.984, allocations: 1.185 MB / 3 GB, free: 82.63 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002967/7.987, allocations: 478.9 kB / 3.001 GB, free: 82.16 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/7.988, allocations: 463.2 kB / 3.001 GB, free: 81.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.523e-06/7.989, allocations: 0 / 3.001 GB, free: 81.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/8.072, allocations: 25.22 MB / 3.026 GB, free: 56.75 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/8.072, allocations: 292.1 kB / 3.026 GB, free: 56.38 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.562/11.63, allocations: 0 / 3.026 GB, free: 56.38 MB / 0.823 GB