Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.785/1.785, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001123/0.001123, allocations: 181.1 kB / 377.1 MB, free: 1.516 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.596/1.596, allocations: 205.4 MB / 0.6367 GB, free: 8.527 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.001007/0.001007, allocations: 92.66 kB / 0.751 GB, free: 62.99 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004198, allocations: 16 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3387, allocations: 116.3 MB / 0.9884 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.344/6.682, allocations: 2.133 GB / 3.121 GB, free: 47.18 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/6.683, allocations: 118.3 kB / 3.121 GB, free: 47.07 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.8254/7.508, allocations: 153.8 MB / 3.272 GB, free: 242.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.166e-06/7.508, allocations: 1.156 kB / 3.272 GB, free: 242.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002465/7.508, allocations: 87.66 kB / 3.272 GB, free: 242.3 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.008997/7.517, allocations: 3.318 MB / 3.275 GB, free: 240.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/7.517, allocations: 13.73 kB / 3.275 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/7.523, allocations: 0.8336 MB / 3.276 GB, free: 240.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00508/7.528, allocations: 2.131 MB / 3.278 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/7.528, allocations: 234 kB / 3.278 GB, free: 239 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006637/7.528, allocations: 297.1 kB / 3.278 GB, free: 238.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00918/7.538, allocations: 4.345 MB / 3.283 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/7.538, allocations: 10.75 kB / 3.283 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007047/7.539, allocations: 129.9 kB / 3.283 GB, free: 237 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/7.539, allocations: 172.7 kB / 3.283 GB, free: 236.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00778/7.547, allocations: 3.975 MB / 3.287 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/7.573, allocations: 18.59 MB / 3.305 GB, free: 222.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/7.577, allocations: 1.814 MB / 3.307 GB, free: 221.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/7.577, allocations: 131.9 kB / 3.307 GB, free: 221.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001649/7.579, allocations: 1.088 MB / 3.308 GB, free: 221 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 6.993e-06/7.579, allocations: 3.875 kB / 3.308 GB, free: 221 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.03104/7.61, allocations: 13.44 MB / 3.321 GB, free: 212.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/7.61, allocations: 0.5828 MB / 3.322 GB, free: 212.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/7.614, allocations: 1.865 MB / 3.323 GB, free: 211.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003901/7.614, allocations: 59.73 kB / 3.323 GB, free: 211.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001522/7.616, allocations: 1.469 MB / 3.325 GB, free: 209.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007378/7.617, allocations: 0.6194 MB / 3.326 GB, free: 209.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/7.617, allocations: 41.34 kB / 3.326 GB, free: 209.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001552/7.617, allocations: 391.5 kB / 3.326 GB, free: 208.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/7.619, allocations: 1.102 MB / 3.327 GB, free: 208.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/7.621, allocations: 1.688 MB / 3.329 GB, free: 207 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/7.623, allocations: 1.401 MB / 3.33 GB, free: 206.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/7.623, allocations: 3.844 kB / 3.33 GB, free: 206.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.009356/7.632, allocations: 4.32 MB / 3.334 GB, free: 204 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001161/7.633, allocations: 5.861 MB / 3.34 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/7.633, allocations: 14.28 kB / 3.34 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005825/7.639, allocations: 1.576 MB / 3.342 GB, free: 196.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/7.641, allocations: 487.4 kB / 3.342 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/7.649, allocations: 6.132 MB / 3.348 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/7.652, allocations: 210.6 kB / 3.348 GB, free: 192.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004043/7.652, allocations: 93.72 kB / 3.348 GB, free: 192.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/7.652, allocations: 3.969 kB / 3.348 GB, free: 192.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007649/7.66, allocations: 3.601 MB / 3.352 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-05/7.66, allocations: 11.69 kB / 3.352 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/7.664, allocations: 1.029 MB / 3.353 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002212/7.666, allocations: 0.4962 MB / 3.353 GB, free: 189.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00674/7.673, allocations: 5.142 MB / 3.358 GB, free: 185.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/7.675, allocations: 179.6 kB / 3.358 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004589/7.676, allocations: 91.97 kB / 3.359 GB, free: 185 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: 65 * 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 (234): * Single equations (assignments): 232 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.00295/7.679, allocations: 1.235 MB / 3.36 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007811/7.679, allocations: 217.4 kB / 3.36 GB, free: 183.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009191/7.689, allocations: 3.881 MB / 3.364 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.998e-05/7.689, allocations: 20 kB / 3.364 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/7.689, allocations: 8 kB / 3.364 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.001e-05/7.689, allocations: 11.97 kB / 3.364 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/7.706, allocations: 9.402 MB / 3.373 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/7.707, allocations: 12.03 kB / 3.373 GB, free: 170.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/7.708, allocations: 339.5 kB / 3.373 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006184/7.714, allocations: 1.514 MB / 3.375 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004909/7.715, allocations: 51.98 kB / 3.375 GB, free: 168.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/7.725, allocations: 8.677 MB / 3.383 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/7.725, allocations: 15.92 kB / 3.383 GB, free: 159.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008578/7.734, allocations: 4.504 MB / 3.388 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/7.735, allocations: 0.6424 MB / 3.388 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/7.736, allocations: 47.92 kB / 3.388 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/7.738, allocations: 183.8 kB / 3.389 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003893/7.739, allocations: 153.7 kB / 3.389 GB, free: 153.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/7.739, allocations: 63.98 kB / 3.389 GB, free: 153.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00224/7.741, allocations: 1.443 MB / 3.39 GB, free: 151.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/7.741, allocations: 0 / 3.39 GB, free: 151.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004792/7.746, allocations: 1.273 MB / 3.391 GB, free: 150.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (166): * Single equations (assignments): 162 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/7.748, allocations: 0.7398 MB / 3.392 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007932/7.756, allocations: 4.876 MB / 3.397 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/7.756, allocations: 1.938 kB / 3.397 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0031/7.759, allocations: 1.884 MB / 3.399 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003164/7.762, allocations: 0.5637 MB / 3.399 GB, free: 142.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/7.773, allocations: 7.639 MB / 3.407 GB, free: 134.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002592/7.776, allocations: 2.469 MB / 3.409 GB, free: 132.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003262/7.779, allocations: 1.017 MB / 3.41 GB, free: 131.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006609/7.78, allocations: 183.4 kB / 3.41 GB, free: 131.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.02e-07/7.78, allocations: 0 / 3.41 GB, free: 131.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06019/7.84, allocations: 43.21 MB / 3.453 GB, free: 88.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)