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.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,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.541/4.541, allocations: 433.2 MB / 440.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.355e-05, allocations: 4 kB / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6609/0.661, allocations: 98.72 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.049/7.71, allocations: 2.243 GB / 2.872 GB, free: 130.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004084/7.711, allocations: 104.4 kB / 2.872 GB, free: 130.3 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.142/8.852, allocations: 147.7 MB / 3.016 GB, free: 227.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.564e-06/8.852, allocations: 2.656 kB / 3.016 GB, free: 227.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004929/8.853, allocations: 87.38 kB / 3.016 GB, free: 227.6 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01395/8.867, allocations: 3.207 MB / 3.019 GB, free: 226 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/8.867, allocations: 9.5 kB / 3.019 GB, free: 226 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009847/8.877, allocations: 0.9394 MB / 3.02 GB, free: 225.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007849/8.885, allocations: 2.193 MB / 3.023 GB, free: 225.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/8.885, allocations: 101.2 kB / 3.023 GB, free: 225.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/8.886, allocations: 174.2 kB / 3.023 GB, free: 225.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0113/8.898, allocations: 3.61 MB / 3.026 GB, free: 225.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/8.913, allocations: 3.943 MB / 3.03 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/8.913, allocations: 7.875 kB / 3.03 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009588/8.914, allocations: 7.031 kB / 3.03 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/8.914, allocations: 183.1 kB / 3.03 GB, free: 224.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03795/8.952, allocations: 19.19 MB / 3.049 GB, free: 214.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005043/8.957, allocations: 1.824 MB / 3.051 GB, free: 214.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/8.96, allocations: 1.144 MB / 3.052 GB, free: 214.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/8.961, allocations: 0.5613 MB / 3.053 GB, free: 213.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002808/8.964, allocations: 1.089 MB / 3.054 GB, free: 213.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=150): time 5.41e-06/8.964, allocations: 0 / 3.054 GB, free: 213.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=187): time 0.06707/9.031, allocations: 10.7 MB / 3.064 GB, free: 210.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/9.032, allocations: 491 kB / 3.065 GB, free: 209.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/9.036, allocations: 1.795 MB / 3.066 GB, free: 209.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006174/9.036, allocations: 25.7 kB / 3.066 GB, free: 209.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001724/9.038, allocations: 1.465 MB / 3.068 GB, free: 208.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001038/9.039, allocations: 0.6012 MB / 3.068 GB, free: 208.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/9.039, allocations: 0 / 3.068 GB, free: 208.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001745/9.04, allocations: 382.6 kB / 3.069 GB, free: 208 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/9.042, allocations: 1.129 MB / 3.07 GB, free: 208 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003302/9.046, allocations: 1.633 MB / 3.071 GB, free: 207.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009554/9.055, allocations: 1.812 MB / 3.073 GB, free: 207.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.439e-05/9.055, allocations: 5.781 kB / 3.073 GB, free: 207.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02332/9.079, allocations: 4.757 MB / 3.078 GB, free: 207.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001105/9.08, allocations: 4.721 MB / 3.082 GB, free: 202.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.675e-05/9.08, allocations: 9.812 kB / 3.082 GB, free: 202.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/9.09, allocations: 1.359 MB / 3.084 GB, free: 202 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/9.095, allocations: 0.4936 MB / 3.084 GB, free: 202 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/9.111, allocations: 9.06 MB / 3.093 GB, free: 195.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/9.115, allocations: 182.1 kB / 3.093 GB, free: 195.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/9.116, allocations: 93.23 kB / 3.093 GB, free: 195.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/9.116, allocations: 3.5 kB / 3.093 GB, free: 195.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01229/9.128, allocations: 2.774 MB / 3.096 GB, free: 194.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/9.128, allocations: 10.88 kB / 3.096 GB, free: 194.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/9.128, allocations: 22.97 kB / 3.096 GB, free: 194.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/9.133, allocations: 0.5244 MB / 3.097 GB, free: 194.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.382e-05/9.133, allocations: 33.42 kB / 3.097 GB, free: 194.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/9.136, allocations: 114.9 kB / 3.097 GB, free: 194.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004518/9.137, allocations: 91.47 kB / 3.097 GB, free: 194.7 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: 51 * 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 (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009263/9.138, allocations: 168.8 kB / 3.097 GB, free: 194.6 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02274/9.161, allocations: 4.46 MB / 3.101 GB, free: 193.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/9.162, allocations: 213.3 kB / 3.102 GB, free: 193.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02376/9.186, allocations: 4.713 MB / 3.106 GB, free: 191.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/9.186, allocations: 21 kB / 3.106 GB, free: 191.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/9.186, allocations: 7.734 kB / 3.106 GB, free: 191.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/9.186, allocations: 6.609 kB / 3.106 GB, free: 191.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03236/9.218, allocations: 9.222 MB / 3.115 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-05/9.218, allocations: 6.75 kB / 3.115 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003391/9.222, allocations: 373 kB / 3.116 GB, free: 187.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/9.233, allocations: 1.79 MB / 3.117 GB, free: 187.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005141/9.234, allocations: 30.84 kB / 3.117 GB, free: 187.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/9.256, allocations: 12.52 MB / 3.13 GB, free: 178.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/9.256, allocations: 5.844 kB / 3.13 GB, free: 178.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02228/9.278, allocations: 5.036 MB / 3.134 GB, free: 175.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/9.281, allocations: 0.6836 MB / 3.135 GB, free: 175.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000846/9.282, allocations: 15.05 kB / 3.135 GB, free: 175.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004333/9.286, allocations: 238.3 kB / 3.135 GB, free: 175 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008157/9.287, allocations: 155.5 kB / 3.136 GB, free: 174.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/9.287, allocations: 63.7 kB / 3.136 GB, free: 174.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003088/9.29, allocations: 1.366 MB / 3.137 GB, free: 173.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.71e-07/9.29, allocations: 0 / 3.137 GB, free: 173.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007281/9.298, allocations: 1.216 MB / 3.138 GB, free: 172.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (180): * Single equations (assignments): 172 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03524/9.333, allocations: 7.646 MB / 3.146 GB, free: 166 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01743/9.35, allocations: 5.135 MB / 3.151 GB, free: 161.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/9.35, allocations: 0.9375 kB / 3.151 GB, free: 161.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008369/9.359, allocations: 2.27 MB / 3.153 GB, free: 159.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005513/9.364, allocations: 459 kB / 3.153 GB, free: 158.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/9.387, allocations: 6.061 MB / 3.159 GB, free: 153.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003504/9.391, allocations: 2.501 MB / 3.162 GB, free: 151.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00829/9.399, allocations: 1.384 MB / 3.163 GB, free: 150.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003006/9.402, allocations: 1.22 MB / 3.164 GB, free: 149.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.793e-06/9.402, allocations: 0 / 3.164 GB, free: 149.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1844/9.586, allocations: 66.42 MB / 3.229 GB, free: 91.93 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/9.587, allocations: 203.3 kB / 3.229 GB, free: 91.64 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.483/16.07, allocations: 0 / 3.229 GB, free: 91.64 MB / 0.823 GB