Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001275/0.001275, allocations: 177 kB / 377.1 MB, free: 1.523 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.471/1.471, allocations: 205.4 MB / 0.6367 GB, free: 8.531 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.001069/0.001069, allocations: 97.94 kB / 0.751 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003923, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 116.3 MB / 0.9884 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.573/6.891, allocations: 2.131 GB / 3.12 GB, free: 48.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/6.891, allocations: 112.5 kB / 3.12 GB, free: 48.59 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.842/7.733, allocations: 162.5 MB / 3.279 GB, free: 241.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.425e-06/7.733, allocations: 0 / 3.279 GB, free: 241.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003245/7.734, allocations: 90.77 kB / 3.279 GB, free: 241.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.01196/7.746, allocations: 3.433 MB / 3.282 GB, free: 239.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/7.746, allocations: 13.02 kB / 3.282 GB, free: 239.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/7.752, allocations: 0.8279 MB / 3.283 GB, free: 239.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006779/7.758, allocations: 2.287 MB / 3.285 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/7.759, allocations: 228.3 kB / 3.285 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001271/7.76, allocations: 312.5 kB / 3.286 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009718/7.77, allocations: 4.417 MB / 3.29 GB, free: 236.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.902e-05/7.77, allocations: 11.5 kB / 3.29 GB, free: 236.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003931/7.77, allocations: 134.2 kB / 3.29 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/7.771, allocations: 172.6 kB / 3.29 GB, free: 236 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007971/7.779, allocations: 4.021 MB / 3.294 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/7.806, allocations: 19.89 MB / 3.313 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/7.809, allocations: 1.879 MB / 3.315 GB, free: 217.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/7.809, allocations: 132.1 kB / 3.315 GB, free: 217.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001421/7.81, allocations: 1.105 MB / 3.317 GB, free: 216.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 3.035e-06/7.81, allocations: 0 / 3.317 GB, free: 216.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.03436/7.845, allocations: 13.42 MB / 3.33 GB, free: 208.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001539/7.845, allocations: 0.504 MB / 3.33 GB, free: 207.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/7.848, allocations: 2.054 MB / 3.332 GB, free: 206.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005391/7.849, allocations: 65.52 kB / 3.332 GB, free: 206.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001391/7.85, allocations: 1.51 MB / 3.334 GB, free: 205.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008155/7.851, allocations: 0.6319 MB / 3.334 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/7.851, allocations: 43.66 kB / 3.334 GB, free: 204.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001248/7.851, allocations: 389 kB / 3.335 GB, free: 204.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/7.853, allocations: 1.124 MB / 3.336 GB, free: 203.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/7.855, allocations: 1.655 MB / 3.337 GB, free: 202.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/7.857, allocations: 1.383 MB / 3.339 GB, free: 201.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/7.857, allocations: 3.906 kB / 3.339 GB, free: 201.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01096/7.868, allocations: 4.73 MB / 3.343 GB, free: 199.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008321/7.868, allocations: 4.661 MB / 3.348 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/7.868, allocations: 10.66 kB / 3.348 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008395/7.877, allocations: 2.054 MB / 3.35 GB, free: 193.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/7.879, allocations: 471.4 kB / 3.35 GB, free: 193.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/7.889, allocations: 9.862 MB / 3.36 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/7.892, allocations: 191.8 kB / 3.36 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004017/7.893, allocations: 87.97 kB / 3.36 GB, free: 183.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/7.893, allocations: 4 kB / 3.36 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008523/7.901, allocations: 3.871 MB / 3.364 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.892e-05/7.901, allocations: 12 kB / 3.364 GB, free: 179.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/7.907, allocations: 1.376 MB / 3.365 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/7.909, allocations: 487.2 kB / 3.366 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008759/7.918, allocations: 7.851 MB / 3.374 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/7.921, allocations: 171.7 kB / 3.374 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00032/7.921, allocations: 87.97 kB / 3.374 GB, free: 169.4 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.002763/7.924, allocations: 1.251 MB / 3.375 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007581/7.925, allocations: 241.1 kB / 3.375 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/7.935, allocations: 4.522 MB / 3.38 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/7.935, allocations: 23.94 kB / 3.38 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/7.935, allocations: 4 kB / 3.38 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-05/7.935, allocations: 15.92 kB / 3.38 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/7.954, allocations: 9.59 MB / 3.389 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/7.954, allocations: 7.938 kB / 3.389 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/7.956, allocations: 360.1 kB / 3.389 GB, free: 153.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007678/7.964, allocations: 1.998 MB / 3.391 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/7.964, allocations: 51.97 kB / 3.391 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/7.978, allocations: 13.65 MB / 3.405 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/7.978, allocations: 4 kB / 3.405 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/7.989, allocations: 4.851 MB / 3.41 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/7.992, allocations: 0.6858 MB / 3.41 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000917/7.993, allocations: 47.94 kB / 3.41 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/7.995, allocations: 191.8 kB / 3.41 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/7.995, allocations: 157.6 kB / 3.411 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/7.995, allocations: 63.98 kB / 3.411 GB, free: 130.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002654/7.998, allocations: 1.602 MB / 3.412 GB, free: 128.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.998, allocations: 0 / 3.412 GB, free: 128.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005545/8.004, allocations: 1.293 MB / 3.413 GB, free: 127.6 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.001761/8.005, allocations: 0.7348 MB / 3.414 GB, free: 127 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008941/8.014, allocations: 5.414 MB / 3.419 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/8.014, allocations: 8.062 kB / 3.419 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003759/8.018, allocations: 2.324 MB / 3.422 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/8.022, allocations: 0.5796 MB / 3.422 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/8.037, allocations: 7.901 MB / 3.43 GB, free: 110.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/8.039, allocations: 2.53 MB / 3.432 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003852/8.043, allocations: 1.01 MB / 3.433 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/8.044, allocations: 203.4 kB / 3.434 GB, free: 106.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.333e-06/8.044, allocations: 0 / 3.434 GB, free: 106.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06251/8.106, allocations: 46.99 MB / 3.48 GB, free: 60.01 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)