Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.668/1.668, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 172.9 kB / 361.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009545/0.0009546, allocations: 96.22 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.178e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7472, allocations: 115.3 MB / 0.9645 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.39/7.138, allocations: 2.13 GB / 3.094 GB, free: 281.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/7.138, allocations: 109.9 kB / 3.094 GB, free: 281.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 0.3466/7.485, allocations: 149.6 MB / 3.24 GB, free: 211.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.956e-06/7.485, allocations: 0 / 3.24 GB, free: 211.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004444/7.485, allocations: 87.92 kB / 3.24 GB, free: 211.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01106/7.496, allocations: 3.063 MB / 3.243 GB, free: 208.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/7.496, allocations: 8.031 kB / 3.243 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00574/7.502, allocations: 0.8265 MB / 3.244 GB, free: 207.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007207/7.509, allocations: 2.281 MB / 3.246 GB, free: 205.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/7.509, allocations: 100 kB / 3.246 GB, free: 205.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001632/7.511, allocations: 180 kB / 3.247 GB, free: 205.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009373/7.52, allocations: 3.514 MB / 3.25 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/7.533, allocations: 3.912 MB / 3.254 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001507/7.533, allocations: 7.938 kB / 3.254 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/7.534, allocations: 7.938 kB / 3.254 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/7.534, allocations: 174 kB / 3.254 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02582/7.56, allocations: 19.1 MB / 3.273 GB, free: 176.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/7.563, allocations: 1.745 MB / 3.274 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/7.565, allocations: 1.122 MB / 3.275 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/7.565, allocations: 130.3 kB / 3.276 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/7.567, allocations: 1.047 MB / 3.277 GB, free: 172.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 8.005e-06/7.567, allocations: 4 kB / 3.277 GB, free: 172.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.02114/7.588, allocations: 9.857 MB / 3.286 GB, free: 162.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/7.588, allocations: 0.5061 MB / 3.287 GB, free: 162 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/7.591, allocations: 1.874 MB / 3.289 GB, free: 160.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004667/7.592, allocations: 29.7 kB / 3.289 GB, free: 160 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/7.593, allocations: 1.526 MB / 3.29 GB, free: 158.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005542/7.594, allocations: 0.6004 MB / 3.291 GB, free: 157.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/7.594, allocations: 0 / 3.291 GB, free: 157.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/7.594, allocations: 389.8 kB / 3.291 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/7.595, allocations: 1.058 MB / 3.292 GB, free: 156.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/7.597, allocations: 1.574 MB / 3.294 GB, free: 154.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/7.599, allocations: 1.375 MB / 3.295 GB, free: 153.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/7.599, allocations: 0 / 3.295 GB, free: 153.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.008817/7.608, allocations: 4.197 MB / 3.299 GB, free: 149 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009406/7.609, allocations: 4.635 MB / 3.304 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/7.609, allocations: 15.94 kB / 3.304 GB, free: 144 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/7.614, allocations: 1.359 MB / 3.305 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002318/7.616, allocations: 487.2 kB / 3.305 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009655/7.626, allocations: 9.049 MB / 3.314 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/7.629, allocations: 163.6 kB / 3.314 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/7.63, allocations: 83.97 kB / 3.314 GB, free: 132.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/7.63, allocations: 4 kB / 3.314 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00471/7.635, allocations: 2.187 MB / 3.317 GB, free: 130.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/7.635, allocations: 12 kB / 3.317 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/7.635, allocations: 23.98 kB / 3.317 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/7.637, allocations: 0.5031 MB / 3.317 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.285e-05/7.637, allocations: 31.86 kB / 3.317 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/7.639, allocations: 107.8 kB / 3.317 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/7.639, allocations: 79.98 kB / 3.317 GB, free: 129.5 MB / 0.948 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * 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.000792/7.64, allocations: 180.7 kB / 3.317 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009239/7.649, allocations: 3.981 MB / 3.321 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009943/7.65, allocations: 229.2 kB / 3.322 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/7.661, allocations: 4.236 MB / 3.326 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/7.661, allocations: 20 kB / 3.326 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/7.661, allocations: 7.953 kB / 3.326 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.322e-05/7.661, allocations: 11.97 kB / 3.326 GB, free: 120.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/7.68, allocations: 8.734 MB / 3.334 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/7.68, allocations: 4 kB / 3.334 GB, free: 111.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/7.681, allocations: 363.5 kB / 3.335 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00613/7.688, allocations: 1.8 MB / 3.336 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004634/7.688, allocations: 27.97 kB / 3.336 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0127/7.701, allocations: 12.49 MB / 3.349 GB, free: 96.52 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.003e-05/7.701, allocations: 15.92 kB / 3.349 GB, free: 96.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/7.711, allocations: 4.591 MB / 3.353 GB, free: 91.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001836/7.713, allocations: 0.6814 MB / 3.354 GB, free: 90.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009647/7.714, allocations: 15.98 kB / 3.354 GB, free: 90.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002561/7.716, allocations: 223.6 kB / 3.354 GB, free: 90.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005247/7.717, allocations: 161.6 kB / 3.354 GB, free: 90.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002457/7.717, allocations: 63.98 kB / 3.354 GB, free: 90.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002901/7.72, allocations: 1.424 MB / 3.356 GB, free: 89.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/7.72, allocations: 0 / 3.356 GB, free: 89.04 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006742/7.727, allocations: 1.137 MB / 3.357 GB, free: 87.91 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 176 * 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.01159/7.739, allocations: 6.923 MB / 3.363 GB, free: 80.87 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007858/7.746, allocations: 4.402 MB / 3.368 GB, free: 76.44 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/7.747, allocations: 12.59 kB / 3.368 GB, free: 76.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/7.75, allocations: 2.217 MB / 3.37 GB, free: 74.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/7.754, allocations: 0.528 MB / 3.37 GB, free: 73.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/7.769, allocations: 6.084 MB / 3.376 GB, free: 67.43 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/7.772, allocations: 2.531 MB / 3.379 GB, free: 64.87 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005456/7.777, allocations: 1.379 MB / 3.38 GB, free: 63.49 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/7.779, allocations: 1.272 MB / 3.381 GB, free: 62.21 MB / 0.948 GB Notification: Performance of SimCode: time 1.092e-06/7.779, allocations: 4 kB / 3.381 GB, free: 62.21 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7094/8.489, allocations: 67.07 MB / 3.447 GB, free: 241.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/8.489, allocations: 208.6 kB / 3.447 GB, free: 241.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.814/12.3, allocations: 3.281 kB / 3.447 GB, free: 241.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)