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.796/1.796, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001004/0.001004, allocations: 180.1 kB / 371.8 MB, free: 10.14 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.771/1.771, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 90.92 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004167, allocations: 15.14 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2578, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.014/6.272, allocations: 2.13 GB / 3.11 GB, free: 178.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/6.272, allocations: 121 kB / 3.11 GB, free: 178 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.3426/6.615, allocations: 156.2 MB / 3.262 GB, free: 20.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.765e-06/6.615, allocations: 0 / 3.262 GB, free: 20.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003962/6.615, allocations: 83.92 kB / 3.262 GB, free: 20.37 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.01121/6.626, allocations: 3.431 MB / 3.266 GB, free: 16.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/6.626, allocations: 12.03 kB / 3.266 GB, free: 16.86 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002281/6.629, allocations: 462.8 kB / 3.266 GB, free: 16.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005569/6.634, allocations: 0.8304 MB / 3.267 GB, free: 15.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/6.641, allocations: 2.289 MB / 3.269 GB, free: 13.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/6.641, allocations: 226.2 kB / 3.27 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/6.643, allocations: 311.9 kB / 3.27 GB, free: 12.69 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/6.654, allocations: 4.423 MB / 3.274 GB, free: 8.105 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001283/6.654, allocations: 4 kB / 3.274 GB, free: 8.102 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008852/6.655, allocations: 135.9 kB / 3.274 GB, free: 7.969 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/6.655, allocations: 174 kB / 3.274 GB, free: 7.797 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008475/6.663, allocations: 4.024 MB / 3.278 GB, free: 3.762 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5621/7.226, allocations: 19.85 MB / 3.298 GB, free: 242.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/7.23, allocations: 1.879 MB / 3.3 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/7.23, allocations: 130.4 kB / 3.3 GB, free: 241.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002336/7.233, allocations: 1.112 MB / 3.301 GB, free: 241.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 4.268e-06/7.233, allocations: 3.844 kB / 3.301 GB, free: 241.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.04173/7.274, allocations: 13.42 MB / 3.314 GB, free: 238 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/7.275, allocations: 0.5087 MB / 3.314 GB, free: 237.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/7.279, allocations: 2.057 MB / 3.316 GB, free: 237.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005356/7.279, allocations: 59.42 kB / 3.316 GB, free: 237.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/7.281, allocations: 1.506 MB / 3.318 GB, free: 236.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008137/7.282, allocations: 0.6304 MB / 3.319 GB, free: 236.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/7.282, allocations: 38.12 kB / 3.319 GB, free: 236.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001425/7.282, allocations: 387.9 kB / 3.319 GB, free: 236 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/7.284, allocations: 1.127 MB / 3.32 GB, free: 236 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/7.287, allocations: 1.653 MB / 3.322 GB, free: 235.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/7.289, allocations: 1.384 MB / 3.323 GB, free: 235.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/7.289, allocations: 5.578 kB / 3.323 GB, free: 235.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01345/7.303, allocations: 4.732 MB / 3.328 GB, free: 235.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001013/7.304, allocations: 4.654 MB / 3.332 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/7.304, allocations: 11.31 kB / 3.332 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009238/7.313, allocations: 2.06 MB / 3.334 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/7.315, allocations: 478 kB / 3.335 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/7.328, allocations: 9.849 MB / 3.344 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/7.331, allocations: 200.6 kB / 3.344 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006978/7.332, allocations: 90.41 kB / 3.345 GB, free: 225 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/7.332, allocations: 4.219 kB / 3.345 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01132/7.344, allocations: 3.868 MB / 3.348 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-05/7.344, allocations: 11 kB / 3.348 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006235/7.35, allocations: 1.379 MB / 3.35 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/7.353, allocations: 493.4 kB / 3.35 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009752/7.362, allocations: 7.843 MB / 3.358 GB, free: 221.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/7.365, allocations: 170.2 kB / 3.358 GB, free: 221.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000584/7.366, allocations: 91.56 kB / 3.358 GB, free: 221.1 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 = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "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 () * Number of clocked 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.003544/7.37, allocations: 1.26 MB / 3.359 GB, free: 221 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/7.371, allocations: 237.1 kB / 3.36 GB, free: 220.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/7.383, allocations: 4.512 MB / 3.364 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/7.383, allocations: 23.88 kB / 3.364 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/7.383, allocations: 3.688 kB / 3.364 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.753e-05/7.383, allocations: 11.72 kB / 3.364 GB, free: 220.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/7.404, allocations: 9.599 MB / 3.373 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.7e-05/7.404, allocations: 4.5 kB / 3.373 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001827/7.406, allocations: 361.4 kB / 3.374 GB, free: 216.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008159/7.414, allocations: 2.001 MB / 3.376 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00064/7.415, allocations: 46.61 kB / 3.376 GB, free: 215.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/7.43, allocations: 13.64 MB / 3.389 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/7.43, allocations: 12.33 kB / 3.389 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/7.441, allocations: 4.851 MB / 3.394 GB, free: 203.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/7.443, allocations: 0.6875 MB / 3.394 GB, free: 203.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008882/7.444, allocations: 50.19 kB / 3.394 GB, free: 203.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/7.446, allocations: 192.7 kB / 3.395 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005216/7.447, allocations: 150.5 kB / 3.395 GB, free: 203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/7.447, allocations: 71.56 kB / 3.395 GB, free: 203 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003052/7.45, allocations: 1.598 MB / 3.396 GB, free: 202.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.31e-07/7.45, allocations: 0 / 3.396 GB, free: 202.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007218/7.458, allocations: 1.289 MB / 3.398 GB, free: 202.2 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) * Number of clocked states: 0 () * 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.01395/7.472, allocations: 7.243 MB / 3.405 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01151/7.483, allocations: 5.425 MB / 3.41 GB, free: 196.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/7.483, allocations: 3.125 kB / 3.41 GB, free: 196.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00424/7.487, allocations: 2.33 MB / 3.412 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/7.491, allocations: 0.5811 MB / 3.413 GB, free: 194.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/7.511, allocations: 17.65 MB / 3.43 GB, free: 181.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004038/7.515, allocations: 2.534 MB / 3.433 GB, free: 180.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004127/7.519, allocations: 1.001 MB / 3.434 GB, free: 180 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/7.521, allocations: 1.318 MB / 3.435 GB, free: 178.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.834e-06/7.521, allocations: 0 / 3.435 GB, free: 178.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09979/7.621, allocations: 71.01 MB / 3.504 GB, free: 138.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/7.622, allocations: 295 kB / 3.505 GB, free: 138.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.84/11.46, allocations: 3.094 kB / 3.505 GB, free: 138.3 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)