Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009406/0.0009407, allocations: 168.9 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008202/0.0008203, allocations: 92.44 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.462e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1798, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.488/5.668, allocations: 2.249 GB / 3.134 GB, free: 117 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.668, allocations: 110 kB / 3.134 GB, free: 116.9 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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.871/6.539, allocations: 149.5 MB / 3.28 GB, free: 240 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.447e-06/6.539, allocations: 0 / 3.28 GB, free: 240 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003697/6.54, allocations: 87.38 kB / 3.28 GB, free: 240 MB / 0.8698 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.01001/6.55, allocations: 3.069 MB / 3.283 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/6.55, allocations: 9.969 kB / 3.283 GB, free: 238.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005599/6.555, allocations: 0.8333 MB / 3.284 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006353/6.562, allocations: 2.267 MB / 3.286 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/6.562, allocations: 98.5 kB / 3.286 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/6.563, allocations: 191 kB / 3.286 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008694/6.572, allocations: 3.515 MB / 3.29 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/6.583, allocations: 3.914 MB / 3.294 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.84e-05/6.583, allocations: 6.141 kB / 3.294 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/6.583, allocations: 14.28 kB / 3.294 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000189/6.584, allocations: 176.8 kB / 3.294 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/6.606, allocations: 19.11 MB / 3.312 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/6.608, allocations: 1.74 MB / 3.314 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/6.609, allocations: 1.114 MB / 3.315 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/6.61, allocations: 135.2 kB / 3.315 GB, free: 226.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/6.611, allocations: 1.048 MB / 3.316 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=150): time 3.487e-06/6.611, allocations: 0 / 3.316 GB, free: 226.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=187): time 0.01784/6.629, allocations: 9.882 MB / 3.326 GB, free: 222.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001981/6.629, allocations: 0.5068 MB / 3.327 GB, free: 221.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/6.632, allocations: 1.866 MB / 3.328 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005445/6.633, allocations: 25.7 kB / 3.328 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/6.634, allocations: 1.52 MB / 3.33 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/6.635, allocations: 0.6025 MB / 3.33 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/6.635, allocations: 0 / 3.33 GB, free: 219.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001167/6.635, allocations: 382.5 kB / 3.331 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/6.637, allocations: 1.063 MB / 3.332 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/6.638, allocations: 1.565 MB / 3.333 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/6.641, allocations: 1.389 MB / 3.335 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/6.641, allocations: 4 kB / 3.335 GB, free: 216.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.009151/6.65, allocations: 4.194 MB / 3.339 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000871/6.651, allocations: 4.626 MB / 3.343 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/6.651, allocations: 12.69 kB / 3.343 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005197/6.656, allocations: 1.359 MB / 3.345 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/6.658, allocations: 482.9 kB / 3.345 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009517/6.668, allocations: 9.059 MB / 3.354 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002872/6.671, allocations: 167.2 kB / 3.354 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006061/6.671, allocations: 97.22 kB / 3.354 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/6.671, allocations: 7.094 kB / 3.354 GB, free: 203.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004197/6.675, allocations: 2.172 MB / 3.356 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/6.676, allocations: 11.19 kB / 3.356 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/6.676, allocations: 27.53 kB / 3.356 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/6.677, allocations: 0.5036 MB / 3.357 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/6.678, allocations: 37.7 kB / 3.357 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/6.679, allocations: 94.92 kB / 3.357 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002528/6.68, allocations: 85.17 kB / 3.357 GB, free: 202.6 MB / 0.8698 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.0006856/6.68, allocations: 172.8 kB / 3.357 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008919/6.689, allocations: 3.98 MB / 3.361 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007276/6.69, allocations: 236 kB / 3.361 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00976/6.7, allocations: 4.228 MB / 3.366 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/6.7, allocations: 23.22 kB / 3.366 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/6.7, allocations: 3.969 kB / 3.366 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/6.7, allocations: 7.219 kB / 3.366 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/6.716, allocations: 8.737 MB / 3.374 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/6.716, allocations: 3.969 kB / 3.374 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/6.718, allocations: 364.2 kB / 3.374 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/6.724, allocations: 1.795 MB / 3.376 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002905/6.724, allocations: 23.48 kB / 3.376 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/6.737, allocations: 12.51 MB / 3.388 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/6.737, allocations: 7.719 kB / 3.388 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/6.747, allocations: 4.583 MB / 3.393 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001797/6.749, allocations: 0.6845 MB / 3.394 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008822/6.75, allocations: 6.375 kB / 3.394 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/6.752, allocations: 234.8 kB / 3.394 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000459/6.753, allocations: 153.1 kB / 3.394 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/6.753, allocations: 75.39 kB / 3.394 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002698/6.756, allocations: 1.421 MB / 3.395 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/6.756, allocations: 0 / 3.395 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005618/6.761, allocations: 1.149 MB / 3.397 GB, free: 183.1 MB / 0.8698 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.01122/6.772, allocations: 6.895 MB / 3.403 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0076/6.78, allocations: 4.408 MB / 3.408 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/6.78, allocations: 2.625 kB / 3.408 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003524/6.784, allocations: 2.232 MB / 3.41 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/6.788, allocations: 0.5359 MB / 3.41 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/6.806, allocations: 6.088 MB / 3.416 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002664/6.809, allocations: 2.528 MB / 3.419 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004309/6.814, allocations: 1.374 MB / 3.42 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/6.815, allocations: 1.27 MB / 3.421 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/6.815, allocations: 0 / 3.421 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09939/6.914, allocations: 67.09 MB / 3.487 GB, free: 99.63 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001515/6.915, allocations: 212.9 kB / 3.487 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/10.54, allocations: 0 / 3.487 GB, free: 99.34 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)