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.614/1.614, allocations: 289.9 MB / 297.4 MB, free: 6.324 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.001103/0.001103, allocations: 172.8 kB / 366.7 MB, free: 1.648 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.476/1.476, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.0008648/0.0008648, allocations: 85.33 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.736e-05/1.737e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6248/0.6248, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.198/5.823, allocations: 2.132 GB / 3.106 GB, free: 276.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000393/5.824, allocations: 108.9 kB / 3.106 GB, free: 276.4 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.3278/6.151, allocations: 145.1 MB / 3.247 GB, free: 177.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/6.151, allocations: 0 / 3.247 GB, free: 177.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002365/6.152, allocations: 83.92 kB / 3.247 GB, free: 177.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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.007615/6.159, allocations: 2.995 MB / 3.25 GB, free: 174.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/6.159, allocations: 12.03 kB / 3.25 GB, free: 174.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005024/6.164, allocations: 0.8345 MB / 3.251 GB, free: 173.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/6.169, allocations: 2.126 MB / 3.253 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/6.169, allocations: 104 kB / 3.253 GB, free: 171.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005028/6.17, allocations: 172 kB / 3.253 GB, free: 171.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005616/6.175, allocations: 3.479 MB / 3.257 GB, free: 167.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005785/6.181, allocations: 3.838 MB / 3.261 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.08e-05/6.181, allocations: 11.84 kB / 3.261 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/6.181, allocations: 4 kB / 3.261 GB, free: 163.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002194/6.182, allocations: 169.9 kB / 3.261 GB, free: 163.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/6.204, allocations: 17.84 MB / 3.278 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/6.206, allocations: 1.676 MB / 3.28 GB, free: 142.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008994/6.207, allocations: 0.8907 MB / 3.281 GB, free: 141.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001843/6.207, allocations: 126.4 kB / 3.281 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001134/6.208, allocations: 1.023 MB / 3.282 GB, free: 140.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=147): time 4.108e-06/6.208, allocations: 0 / 3.282 GB, free: 140.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.01562/6.224, allocations: 10.39 MB / 3.292 GB, free: 130 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001631/6.224, allocations: 0.5847 MB / 3.293 GB, free: 129.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/6.226, allocations: 1.675 MB / 3.294 GB, free: 127.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/6.227, allocations: 33.7 kB / 3.294 GB, free: 127.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/6.228, allocations: 1.474 MB / 3.296 GB, free: 126.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000398/6.228, allocations: 0.5851 MB / 3.296 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/6.228, allocations: 0 / 3.296 GB, free: 125.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001494/6.229, allocations: 397.9 kB / 3.297 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/6.23, allocations: 1.031 MB / 3.298 GB, free: 124.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/6.231, allocations: 1.601 MB / 3.299 GB, free: 122.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/6.233, allocations: 1.406 MB / 3.301 GB, free: 120.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/6.233, allocations: 4 kB / 3.301 GB, free: 120.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006914/6.24, allocations: 3.905 MB / 3.304 GB, free: 116.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001265/6.241, allocations: 5.826 MB / 3.31 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/6.241, allocations: 15.94 kB / 3.31 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003807/6.245, allocations: 1.104 MB / 3.311 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/6.247, allocations: 479.2 kB / 3.312 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006591/6.253, allocations: 5.597 MB / 3.317 GB, free: 103.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/6.256, allocations: 167.6 kB / 3.317 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/6.256, allocations: 95.91 kB / 3.317 GB, free: 102.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/6.256, allocations: 4 kB / 3.317 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003195/6.259, allocations: 2.324 MB / 3.32 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/6.259, allocations: 12.22 kB / 3.32 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/6.259, allocations: 32 kB / 3.32 GB, free: 100.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00174/6.261, allocations: 0.5187 MB / 3.32 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/6.261, allocations: 35.86 kB / 3.32 GB, free: 100 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/6.263, allocations: 115.7 kB / 3.32 GB, free: 99.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/6.263, allocations: 95.97 kB / 3.32 GB, free: 99.8 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: 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 () * 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.0004764/6.264, allocations: 176.9 kB / 3.321 GB, free: 99.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/6.264, allocations: 217.5 kB / 3.321 GB, free: 99.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007458/6.271, allocations: 3.658 MB / 3.324 GB, free: 95.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/6.271, allocations: 20 kB / 3.324 GB, free: 95.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/6.271, allocations: 8 kB / 3.324 GB, free: 95.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-05/6.271, allocations: 11.97 kB / 3.324 GB, free: 95.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/6.285, allocations: 8.555 MB / 3.333 GB, free: 87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/6.285, allocations: 4 kB / 3.333 GB, free: 87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/6.286, allocations: 335.5 kB / 3.333 GB, free: 86.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004248/6.29, allocations: 1.39 MB / 3.334 GB, free: 85.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/6.29, allocations: 27.98 kB / 3.334 GB, free: 85.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009125/6.299, allocations: 7.855 MB / 3.342 GB, free: 77.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/6.299, allocations: 11.94 kB / 3.342 GB, free: 77.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/6.307, allocations: 4.287 MB / 3.346 GB, free: 72.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/6.308, allocations: 0.627 MB / 3.347 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/6.308, allocations: 19.94 kB / 3.347 GB, free: 71.96 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/6.31, allocations: 195.6 kB / 3.347 GB, free: 71.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003426/6.31, allocations: 161.6 kB / 3.347 GB, free: 71.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/6.31, allocations: 59.98 kB / 3.347 GB, free: 71.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002032/6.313, allocations: 1.276 MB / 3.349 GB, free: 70.28 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/6.313, allocations: 0 / 3.349 GB, free: 70.28 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005005/6.318, allocations: 1.129 MB / 3.35 GB, free: 69.15 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) * 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.001653/6.319, allocations: 0.6317 MB / 3.35 GB, free: 68.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006203/6.325, allocations: 4.126 MB / 3.354 GB, free: 64.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/6.325, allocations: 448 / 3.354 GB, free: 64.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/6.328, allocations: 1.768 MB / 3.356 GB, free: 62.66 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/6.331, allocations: 0.5117 MB / 3.357 GB, free: 62.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009842/6.341, allocations: 5.092 MB / 3.361 GB, free: 56.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/6.343, allocations: 2.454 MB / 3.364 GB, free: 54.45 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004119/6.347, allocations: 1.301 MB / 3.365 GB, free: 53.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/6.348, allocations: 151.4 kB / 3.365 GB, free: 53 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/6.348, allocations: 0 / 3.365 GB, free: 53 MB / 0.948 GB Notification: Performance of Templates: time 0.0682/6.416, allocations: 40.19 MB / 3.405 GB, free: 12.98 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)