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/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.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.049/4.049, allocations: 432.6 MB / 445.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.234e-05, allocations: 3.938 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 98.74 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.284/7.498, allocations: 2.245 GB / 2.88 GB, free: 55.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/7.498, allocations: 107.2 kB / 2.88 GB, free: 55.82 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.176/8.674, allocations: 144.5 MB / 3.021 GB, free: 248.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.813e-06/8.674, allocations: 0 / 3.021 GB, free: 248.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000323/8.674, allocations: 81.31 kB / 3.021 GB, free: 248.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: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01094/8.685, allocations: 3.096 MB / 3.024 GB, free: 246.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/8.685, allocations: 16.03 kB / 3.024 GB, free: 246.6 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001874/8.687, allocations: 446.5 kB / 3.025 GB, free: 246.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009281/8.696, allocations: 0.9447 MB / 3.026 GB, free: 245.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006916/8.703, allocations: 2.044 MB / 3.028 GB, free: 243.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/8.704, allocations: 229.8 kB / 3.028 GB, free: 242.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/8.705, allocations: 296.1 kB / 3.028 GB, free: 242.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01419/8.719, allocations: 4.311 MB / 3.032 GB, free: 238.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/8.72, allocations: 11.84 kB / 3.032 GB, free: 238.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007948/8.72, allocations: 134.6 kB / 3.033 GB, free: 238.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/8.721, allocations: 169.9 kB / 3.033 GB, free: 237.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/8.733, allocations: 3.97 MB / 3.037 GB, free: 233.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03593/8.769, allocations: 18.65 MB / 3.055 GB, free: 213.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/8.773, allocations: 1.848 MB / 3.057 GB, free: 212.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/8.775, allocations: 0.9496 MB / 3.058 GB, free: 211.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/8.776, allocations: 0.5574 MB / 3.058 GB, free: 210.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/8.779, allocations: 1.119 MB / 3.059 GB, free: 209.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 5.07e-06/8.779, allocations: 0 / 3.059 GB, free: 209.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.04528/8.824, allocations: 12.17 MB / 3.071 GB, free: 197.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/8.824, allocations: 0.5635 MB / 3.072 GB, free: 196.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/8.828, allocations: 1.776 MB / 3.073 GB, free: 194.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000543/8.829, allocations: 57.7 kB / 3.073 GB, free: 194.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001689/8.831, allocations: 1.433 MB / 3.075 GB, free: 193.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009921/8.832, allocations: 0.6118 MB / 3.075 GB, free: 192.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/8.832, allocations: 40 kB / 3.075 GB, free: 192.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001653/8.832, allocations: 405.9 kB / 3.076 GB, free: 192 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/8.835, allocations: 1.125 MB / 3.077 GB, free: 190.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003106/8.838, allocations: 1.71 MB / 3.079 GB, free: 189 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003505/8.841, allocations: 1.524 MB / 3.08 GB, free: 187.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.136e-05/8.841, allocations: 4 kB / 3.08 GB, free: 187.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01558/8.857, allocations: 4.469 MB / 3.084 GB, free: 182.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001512/8.859, allocations: 5.928 MB / 3.09 GB, free: 176.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/8.859, allocations: 12 kB / 3.09 GB, free: 176.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008956/8.868, allocations: 1.441 MB / 3.092 GB, free: 174.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004188/8.872, allocations: 0.4952 MB / 3.092 GB, free: 174.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01238/8.884, allocations: 5.877 MB / 3.098 GB, free: 168.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004044/8.888, allocations: 223.7 kB / 3.098 GB, free: 168.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/8.889, allocations: 99.97 kB / 3.098 GB, free: 168.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/8.889, allocations: 4 kB / 3.098 GB, free: 168.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01207/8.901, allocations: 3.778 MB / 3.102 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.789e-05/8.901, allocations: 12 kB / 3.102 GB, free: 164.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005496/8.907, allocations: 0.8906 MB / 3.103 GB, free: 163.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004457/8.911, allocations: 0.5031 MB / 3.103 GB, free: 162.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/8.922, allocations: 4.838 MB / 3.108 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/8.926, allocations: 191.6 kB / 3.108 GB, free: 157.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/8.926, allocations: 99.97 kB / 3.108 GB, free: 157.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.0008262/8.927, allocations: 236.4 kB / 3.108 GB, free: 157.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000747/8.928, allocations: 213.5 kB / 3.109 GB, free: 157.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/8.942, allocations: 3.845 MB / 3.112 GB, free: 153.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.43e-05/8.942, allocations: 20 kB / 3.112 GB, free: 153.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.675e-05/8.942, allocations: 8 kB / 3.112 GB, free: 153.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/8.942, allocations: 15.89 kB / 3.112 GB, free: 153.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02468/8.967, allocations: 9.366 MB / 3.122 GB, free: 143.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.401e-05/8.967, allocations: 12.14 kB / 3.122 GB, free: 143.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003026/8.97, allocations: 339.5 kB / 3.122 GB, free: 143.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008626/8.979, allocations: 1.391 MB / 3.123 GB, free: 142 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005099/8.979, allocations: 47.98 kB / 3.123 GB, free: 142 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/8.997, allocations: 8.207 MB / 3.131 GB, free: 133.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/8.997, allocations: 11.92 kB / 3.131 GB, free: 133.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/9.01, allocations: 4.439 MB / 3.136 GB, free: 128.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002339/9.013, allocations: 0.6543 MB / 3.136 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007882/9.014, allocations: 43.94 kB / 3.136 GB, free: 128 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00343/9.017, allocations: 195.9 kB / 3.137 GB, free: 127.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006107/9.018, allocations: 157 kB / 3.137 GB, free: 127.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002583/9.018, allocations: 67.92 kB / 3.137 GB, free: 127.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003029/9.021, allocations: 1.367 MB / 3.138 GB, free: 126.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.21e-07/9.021, allocations: 0 / 3.138 GB, free: 126.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006279/9.027, allocations: 1.328 MB / 3.139 GB, free: 124.9 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.01695/9.044, allocations: 7.405 MB / 3.147 GB, free: 117.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01499/9.059, allocations: 5.434 MB / 3.152 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/9.059, allocations: 4 kB / 3.152 GB, free: 111.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/9.065, allocations: 1.872 MB / 3.154 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/9.068, allocations: 495.1 kB / 3.154 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/9.086, allocations: 6.079 MB / 3.16 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/9.089, allocations: 2.432 MB / 3.163 GB, free: 100.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007/9.097, allocations: 1.323 MB / 3.164 GB, free: 99.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/9.099, allocations: 1.155 MB / 3.165 GB, free: 98.43 MB / 0.823 GB Notification: Performance of SimCode: time 1.643e-06/9.099, allocations: 0 / 3.165 GB, free: 98.43 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/9.271, allocations: 68.82 MB / 3.232 GB, free: 30.01 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/9.271, allocations: 261.2 kB / 3.232 GB, free: 29.67 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.887/15.16, allocations: 3.938 kB / 3.232 GB, free: 29.67 MB / 0.823 GB