Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.598/2.598, allocations: 287.5 MB / 303.2 MB, free: 8.211 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.001271/0.001271, allocations: 186.9 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6305 GB, free: 10.55 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.0009855/0.0009852, allocations: 99.34 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004852, allocations: 14.83 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.606/6.825, allocations: 2.13 GB / 3.11 GB, free: 165.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003641/6.826, allocations: 123.5 kB / 3.11 GB, free: 165.2 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.547/7.373, allocations: 156.6 MB / 3.263 GB, free: 7.176 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.696e-06/7.373, allocations: 0 / 3.263 GB, free: 7.176 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003291/7.373, allocations: 79.94 kB / 3.263 GB, free: 7.098 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.01109/7.384, allocations: 3.384 MB / 3.266 GB, free: 3.645 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/7.384, allocations: 12.03 kB / 3.266 GB, free: 3.633 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00704/7.391, allocations: 0.8369 MB / 3.267 GB, free: 2.793 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/7.398, allocations: 2.349 MB / 3.269 GB, free: 400 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/7.398, allocations: 234.2 kB / 3.269 GB, free: 164 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.6525/8.051, allocations: 307.9 kB / 3.27 GB, free: 255.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01772/8.069, allocations: 4.445 MB / 3.274 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001869/8.069, allocations: 7.922 kB / 3.274 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001236/8.07, allocations: 132.4 kB / 3.274 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004013/8.071, allocations: 173.7 kB / 3.274 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/8.085, allocations: 4.023 MB / 3.278 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04224/8.128, allocations: 19.81 MB / 3.298 GB, free: 245.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005986/8.134, allocations: 2.005 MB / 3.299 GB, free: 245.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/8.137, allocations: 1.077 MB / 3.301 GB, free: 245.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/8.137, allocations: 132.2 kB / 3.301 GB, free: 245.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003236/8.141, allocations: 1.078 MB / 3.302 GB, free: 245 MB / 0.948 GB Notification: Performance of pre-optimization done (n=156): time 6.252e-06/8.141, allocations: 1.094 kB / 3.302 GB, free: 245 MB / 0.948 GB Notification: Performance of matching and sorting (n=193): time 0.06735/8.208, allocations: 10.77 MB / 3.312 GB, free: 244 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/8.208, allocations: 310.5 kB / 3.313 GB, free: 243.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005645/8.214, allocations: 2.2 MB / 3.315 GB, free: 243.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006068/8.215, allocations: 63.36 kB / 3.315 GB, free: 243.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/8.216, allocations: 1.49 MB / 3.316 GB, free: 243 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001114/8.218, allocations: 0.6447 MB / 3.317 GB, free: 242.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/8.218, allocations: 38.12 kB / 3.317 GB, free: 242.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001601/8.218, allocations: 382.8 kB / 3.317 GB, free: 242.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/8.221, allocations: 1.129 MB / 3.318 GB, free: 242.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003892/8.225, allocations: 1.659 MB / 3.32 GB, free: 241.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.111/8.336, allocations: 14.59 MB / 3.334 GB, free: 241.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/8.336, allocations: 3.219 kB / 3.334 GB, free: 241.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.02497/8.361, allocations: 5.057 MB / 3.339 GB, free: 240.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000423/8.362, allocations: 434.9 kB / 3.34 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.706e-05/8.362, allocations: 11.09 kB / 3.34 GB, free: 240.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02859/8.39, allocations: 2.415 MB / 3.342 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004362/8.395, allocations: 474 kB / 3.342 GB, free: 239.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03712/8.432, allocations: 14.01 MB / 3.356 GB, free: 229.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/8.438, allocations: 195.2 kB / 3.356 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008875/8.439, allocations: 92.36 kB / 3.356 GB, free: 229.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/8.439, allocations: 6.156 kB / 3.356 GB, free: 229.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0289/8.468, allocations: 4.106 MB / 3.36 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-05/8.468, allocations: 13.66 kB / 3.36 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01703/8.485, allocations: 1.603 MB / 3.362 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/8.489, allocations: 497.5 kB / 3.362 GB, free: 228.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/8.508, allocations: 7.953 MB / 3.37 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/8.512, allocations: 170.7 kB / 3.37 GB, free: 222.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004986/8.513, allocations: 87.81 kB / 3.37 GB, free: 222.7 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.003641/8.516, allocations: 1.269 MB / 3.372 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009514/8.517, allocations: 230.6 kB / 3.372 GB, free: 221.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02358/8.541, allocations: 5.054 MB / 3.377 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.593e-05/8.541, allocations: 18.97 kB / 3.377 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/8.541, allocations: 2.719 kB / 3.377 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.807e-05/8.541, allocations: 10.27 kB / 3.377 GB, free: 220.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03482/8.576, allocations: 9.697 MB / 3.386 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/8.576, allocations: 7.75 kB / 3.386 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/8.579, allocations: 380.1 kB / 3.387 GB, free: 216.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01698/8.596, allocations: 2.225 MB / 3.389 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005082/8.597, allocations: 50.64 kB / 3.389 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/8.624, allocations: 13.61 MB / 3.402 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/8.624, allocations: 10.27 kB / 3.402 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/8.646, allocations: 4.945 MB / 3.407 GB, free: 204.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002452/8.649, allocations: 0.6935 MB / 3.408 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009947/8.65, allocations: 43.31 kB / 3.408 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003806/8.653, allocations: 217.5 kB / 3.408 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008423/8.654, allocations: 160 kB / 3.408 GB, free: 204 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002965/8.655, allocations: 70.56 kB / 3.408 GB, free: 204 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003752/8.658, allocations: 1.545 MB / 3.41 GB, free: 203.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/8.658, allocations: 0 / 3.41 GB, free: 203.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007127/8.666, allocations: 1.308 MB / 3.411 GB, free: 203.2 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 (190): * Single equations (assignments): 182 * 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.002353/8.668, allocations: 0.7413 MB / 3.412 GB, free: 203.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01913/8.687, allocations: 5.947 MB / 3.417 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/8.687, allocations: 0 / 3.417 GB, free: 200.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.008216/8.695, allocations: 2.508 MB / 3.42 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008064/8.704, allocations: 0.6096 MB / 3.421 GB, free: 199.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/8.722, allocations: 8.054 MB / 3.428 GB, free: 194.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004518/8.727, allocations: 2.477 MB / 3.431 GB, free: 193.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005839/8.733, allocations: 0.9958 MB / 3.432 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/8.734, allocations: 204.1 kB / 3.432 GB, free: 192.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.973e-06/8.734, allocations: 0 / 3.432 GB, free: 192.4 MB / 0.948 GB Notification: Performance of Templates: time 0.12/8.854, allocations: 49.93 MB / 3.481 GB, free: 151.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)