Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.436/2.436, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001593/0.001593, allocations: 188.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.295/2.295, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001031/0.001031, allocations: 83.62 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.761e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8538/0.8538, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.432/8.286, allocations: 2.129 GB / 3.093 GB, free: 281.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/8.286, allocations: 111.6 kB / 3.093 GB, free: 281.1 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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 0.6214/8.907, allocations: 149.5 MB / 3.239 GB, free: 215.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.905e-06/8.907, allocations: 0 / 3.239 GB, free: 215.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004541/8.908, allocations: 83.92 kB / 3.239 GB, free: 215.7 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.01218/8.92, allocations: 3.071 MB / 3.242 GB, free: 212.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/8.92, allocations: 12.03 kB / 3.242 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/8.928, allocations: 0.8265 MB / 3.243 GB, free: 211.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008107/8.936, allocations: 2.277 MB / 3.245 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/8.936, allocations: 104 kB / 3.245 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/8.938, allocations: 180 kB / 3.245 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0107/8.948, allocations: 3.514 MB / 3.249 GB, free: 205.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/8.962, allocations: 3.908 MB / 3.253 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/8.963, allocations: 7.938 kB / 3.253 GB, free: 201.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009039/8.964, allocations: 11.98 kB / 3.253 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002688/8.964, allocations: 170 kB / 3.253 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/9, allocations: 19.11 MB / 3.271 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/9.004, allocations: 1.745 MB / 3.273 GB, free: 179 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002975/9.007, allocations: 1.118 MB / 3.274 GB, free: 177.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/9.008, allocations: 134.4 kB / 3.274 GB, free: 177.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002334/9.01, allocations: 1.044 MB / 3.275 GB, free: 176.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 5.35e-06/9.01, allocations: 0 / 3.275 GB, free: 176.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.03255/9.043, allocations: 9.872 MB / 3.285 GB, free: 166.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/9.043, allocations: 0.5023 MB / 3.286 GB, free: 166 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/9.048, allocations: 1.866 MB / 3.287 GB, free: 164.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006295/9.049, allocations: 29.7 kB / 3.287 GB, free: 164.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/9.051, allocations: 1.526 MB / 3.289 GB, free: 162.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/9.052, allocations: 0.6004 MB / 3.289 GB, free: 161.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/9.052, allocations: 3.938 kB / 3.289 GB, free: 161.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001701/9.052, allocations: 393.8 kB / 3.29 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/9.055, allocations: 1.054 MB / 3.291 GB, free: 160.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/9.058, allocations: 1.574 MB / 3.292 GB, free: 158.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/9.062, allocations: 1.371 MB / 3.294 GB, free: 157.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/9.062, allocations: 4 kB / 3.294 GB, free: 157.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.0173/9.079, allocations: 4.192 MB / 3.298 GB, free: 153.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009783/9.08, allocations: 4.64 MB / 3.302 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/9.08, allocations: 15.95 kB / 3.302 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/9.091, allocations: 1.363 MB / 3.304 GB, free: 146.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003827/9.095, allocations: 471.3 kB / 3.304 GB, free: 146.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01727/9.112, allocations: 9.056 MB / 3.313 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004039/9.116, allocations: 167.7 kB / 3.313 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005755/9.117, allocations: 87.97 kB / 3.313 GB, free: 136.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/9.117, allocations: 7.938 kB / 3.313 GB, free: 136.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005751/9.122, allocations: 2.179 MB / 3.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/9.122, allocations: 12 kB / 3.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.493e-05/9.123, allocations: 24 kB / 3.315 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/9.126, allocations: 0.5077 MB / 3.316 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.635e-05/9.127, allocations: 23.94 kB / 3.316 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/9.13, allocations: 99.77 kB / 3.316 GB, free: 133.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004624/9.13, allocations: 91.97 kB / 3.316 GB, free: 133.6 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.0008951/9.131, allocations: 176.8 kB / 3.316 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01676/9.148, allocations: 3.985 MB / 3.32 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/9.149, allocations: 229.3 kB / 3.32 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/9.167, allocations: 4.229 MB / 3.325 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.464e-05/9.168, allocations: 27.95 kB / 3.325 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/9.168, allocations: 4 kB / 3.325 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.329e-05/9.168, allocations: 11.95 kB / 3.325 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02657/9.194, allocations: 8.726 MB / 3.333 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/9.194, allocations: 4.594 kB / 3.333 GB, free: 116 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/9.197, allocations: 371.4 kB / 3.333 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01146/9.209, allocations: 1.792 MB / 3.335 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005424/9.209, allocations: 23.98 kB / 3.335 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/9.231, allocations: 12.5 MB / 3.347 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/9.231, allocations: 4 kB / 3.347 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01625/9.247, allocations: 4.599 MB / 3.352 GB, free: 95.73 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/9.25, allocations: 0.6817 MB / 3.353 GB, free: 95.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009309/9.251, allocations: 8 kB / 3.353 GB, free: 95.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/9.255, allocations: 227.6 kB / 3.353 GB, free: 94.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008138/9.256, allocations: 161.6 kB / 3.353 GB, free: 94.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/9.256, allocations: 63.98 kB / 3.353 GB, free: 94.58 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003365/9.26, allocations: 1.424 MB / 3.354 GB, free: 93.13 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.92e-07/9.26, allocations: 0 / 3.354 GB, free: 93.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007554/9.267, allocations: 1.144 MB / 3.356 GB, free: 91.99 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.01971/9.287, allocations: 6.91 MB / 3.362 GB, free: 85.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01265/9.3, allocations: 4.409 MB / 3.367 GB, free: 80.58 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/9.3, allocations: 7.906 kB / 3.367 GB, free: 80.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006473/9.306, allocations: 2.218 MB / 3.369 GB, free: 78.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004856/9.311, allocations: 0.5331 MB / 3.369 GB, free: 77.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/9.331, allocations: 6.076 MB / 3.375 GB, free: 71.58 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/9.335, allocations: 2.537 MB / 3.378 GB, free: 69.01 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007685/9.343, allocations: 1.372 MB / 3.379 GB, free: 67.63 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003064/9.346, allocations: 1.28 MB / 3.38 GB, free: 66.35 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/9.346, allocations: 3.938 kB / 3.38 GB, free: 66.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.938/10.28, allocations: 67.05 MB / 3.446 GB, free: 241.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/10.28, allocations: 202 kB / 3.446 GB, free: 240.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.616/15.9, allocations: 0.7812 kB / 3.446 GB, free: 240.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)