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 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.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 loadModel(Buildings): time 4.228/4.228, allocations: 433.2 MB / 440.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.308e-05, allocations: 3.094 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2935, allocations: 98.74 MB / 0.6289 GB, free: 9.145 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.065/7.358, allocations: 2.245 GB / 2.874 GB, free: 91.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/7.359, allocations: 105.4 kB / 2.874 GB, free: 90.95 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 1.12/8.479, allocations: 137.3 MB / 3.008 GB, free: 242.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.134e-06/8.479, allocations: 0 / 3.008 GB, free: 242.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.00035/8.479, allocations: 81.12 kB / 3.008 GB, free: 242.1 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: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01138/8.491, allocations: 3.096 MB / 3.011 GB, free: 240.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/8.491, allocations: 15.59 kB / 3.011 GB, free: 240.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/8.503, allocations: 0.9385 MB / 3.012 GB, free: 240.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009592/8.513, allocations: 2.047 MB / 3.014 GB, free: 239.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/8.513, allocations: 101.9 kB / 3.014 GB, free: 239.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/8.515, allocations: 175.4 kB / 3.014 GB, free: 239.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0109/8.526, allocations: 3.566 MB / 3.018 GB, free: 239.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/8.54, allocations: 3.867 MB / 3.021 GB, free: 239.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/8.54, allocations: 7.469 kB / 3.021 GB, free: 239.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007042/8.541, allocations: 3.625 kB / 3.021 GB, free: 239.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/8.541, allocations: 170.1 kB / 3.021 GB, free: 239.4 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03506/8.576, allocations: 17.91 MB / 3.039 GB, free: 229.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004164/8.58, allocations: 1.751 MB / 3.041 GB, free: 229.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/8.583, allocations: 0.9156 MB / 3.042 GB, free: 229.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/8.584, allocations: 0.5599 MB / 3.042 GB, free: 229.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002389/8.586, allocations: 1.068 MB / 3.043 GB, free: 229.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 5.04e-06/8.586, allocations: 3.719 kB / 3.043 GB, free: 229.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.0417/8.628, allocations: 11.19 MB / 3.054 GB, free: 223.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/8.628, allocations: 0.5585 MB / 3.055 GB, free: 222.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/8.632, allocations: 1.617 MB / 3.056 GB, free: 222.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000593/8.632, allocations: 29.64 kB / 3.056 GB, free: 222.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/8.634, allocations: 1.432 MB / 3.058 GB, free: 221.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001008/8.635, allocations: 0.5903 MB / 3.058 GB, free: 220.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/8.636, allocations: 0 / 3.058 GB, free: 220.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001725/8.636, allocations: 388.2 kB / 3.059 GB, free: 220.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002537/8.638, allocations: 1.089 MB / 3.06 GB, free: 219.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/8.642, allocations: 1.657 MB / 3.061 GB, free: 218.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/8.652, allocations: 1.833 MB / 3.063 GB, free: 218.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.737e-05/8.652, allocations: 3.188 kB / 3.063 GB, free: 218.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.02009/8.672, allocations: 4.469 MB / 3.067 GB, free: 216.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001405/8.673, allocations: 5.896 MB / 3.073 GB, free: 210.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/8.673, allocations: 14.34 kB / 3.073 GB, free: 210.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008071/8.682, allocations: 1.102 MB / 3.074 GB, free: 210.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/8.686, allocations: 0.49 MB / 3.075 GB, free: 210.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/8.698, allocations: 5.626 MB / 3.08 GB, free: 206.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/8.702, allocations: 186.6 kB / 3.08 GB, free: 206.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004339/8.703, allocations: 98.94 kB / 3.081 GB, free: 206.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/8.703, allocations: 7.953 kB / 3.081 GB, free: 206.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01288/8.716, allocations: 2.91 MB / 3.083 GB, free: 204.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-05/8.716, allocations: 12 kB / 3.083 GB, free: 204.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.261e-05/8.716, allocations: 28 kB / 3.083 GB, free: 204.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/8.72, allocations: 0.5382 MB / 3.084 GB, free: 203.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-05/8.72, allocations: 35.67 kB / 3.084 GB, free: 203.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/8.724, allocations: 135.9 kB / 3.084 GB, free: 203.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006127/8.724, allocations: 94.75 kB / 3.084 GB, free: 203.6 MB / 0.823 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (238): * Single equations (assignments): 232 * 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 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009099/8.725, allocations: 172.6 kB / 3.084 GB, free: 203.4 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01933/8.745, allocations: 3.952 MB / 3.088 GB, free: 200.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/8.746, allocations: 205.6 kB / 3.088 GB, free: 200.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/8.766, allocations: 4.119 MB / 3.092 GB, free: 196.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/8.766, allocations: 23.7 kB / 3.092 GB, free: 196.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/8.766, allocations: 4 kB / 3.092 GB, free: 196.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-05/8.766, allocations: 15.34 kB / 3.092 GB, free: 196.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/8.797, allocations: 9.037 MB / 3.101 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.048e-05/8.797, allocations: 12.12 kB / 3.101 GB, free: 189.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/8.8, allocations: 346 kB / 3.102 GB, free: 189.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008395/8.809, allocations: 1.379 MB / 3.103 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000487/8.809, allocations: 26.36 kB / 3.103 GB, free: 188.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/8.826, allocations: 7.822 MB / 3.111 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/8.827, allocations: 11.89 kB / 3.111 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/8.846, allocations: 4.743 MB / 3.115 GB, free: 177.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/8.848, allocations: 0.6375 MB / 3.116 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000866/8.849, allocations: 11.98 kB / 3.116 GB, free: 176.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003935/8.853, allocations: 209.5 kB / 3.116 GB, free: 176.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008178/8.854, allocations: 157 kB / 3.116 GB, free: 176.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003165/8.854, allocations: 63.98 kB / 3.116 GB, free: 176.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002652/8.857, allocations: 1.223 MB / 3.118 GB, free: 174.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.92e-07/8.857, allocations: 0 / 3.118 GB, free: 174.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00639/8.864, allocations: 1.18 MB / 3.119 GB, free: 173.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (162): * Single equations (assignments): 158 * 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,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.02902/8.893, allocations: 7.663 MB / 3.126 GB, free: 166 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01484/8.907, allocations: 4.753 MB / 3.131 GB, free: 161.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-05/8.908, allocations: 8.188 kB / 3.131 GB, free: 161.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006841/8.914, allocations: 1.793 MB / 3.133 GB, free: 159.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00517/8.92, allocations: 440.8 kB / 3.133 GB, free: 159 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02257/8.942, allocations: 5.894 MB / 3.139 GB, free: 152.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004483/8.947, allocations: 2.427 MB / 3.141 GB, free: 150.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007448/8.954, allocations: 1.315 MB / 3.142 GB, free: 149.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002609/8.957, allocations: 1.155 MB / 3.144 GB, free: 148.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.223e-06/8.957, allocations: 0 / 3.144 GB, free: 148.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1699/9.127, allocations: 62.25 MB / 3.204 GB, free: 86.31 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/9.127, allocations: 205.7 kB / 3.205 GB, free: 86.02 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.873/15, allocations: 4 kB / 3.205 GB, free: 86.02 MB / 0.823 GB