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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 293 MB / 309 MB, free: 4.801 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.001134/0.001134, allocations: 180.6 kB / 378.7 MB, free: 1.027 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.542/1.542, allocations: 205.4 MB / 0.6383 GB, free: 8.211 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.0007612/0.0007612, allocations: 95.91 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004506/0.0004506, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3067, allocations: 116.4 MB / 0.9905 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.976/6.282, allocations: 2.131 GB / 3.122 GB, free: 82.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/6.283, allocations: 119.9 kB / 3.122 GB, free: 82.17 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-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.877/7.16, allocations: 156.6 MB / 3.275 GB, free: 234.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.987e-06/7.16, allocations: 0.6562 kB / 3.275 GB, free: 234.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004316/7.16, allocations: 91.67 kB / 3.275 GB, free: 234.4 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.0123/7.173, allocations: 3.384 MB / 3.278 GB, free: 232.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/7.173, allocations: 13.28 kB / 3.278 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005627/7.178, allocations: 0.8367 MB / 3.279 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/7.185, allocations: 2.361 MB / 3.281 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/7.185, allocations: 236.9 kB / 3.282 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/7.186, allocations: 301.2 kB / 3.282 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/7.199, allocations: 4.453 MB / 3.286 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/7.199, allocations: 7.031 kB / 3.286 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/7.201, allocations: 135.7 kB / 3.286 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/7.201, allocations: 174.2 kB / 3.287 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009085/7.21, allocations: 4.024 MB / 3.291 GB, free: 228.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02928/7.239, allocations: 19.87 MB / 3.31 GB, free: 213.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/7.243, allocations: 1.865 MB / 3.312 GB, free: 213.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/7.245, allocations: 0.9649 MB / 3.313 GB, free: 212.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/7.245, allocations: 128.5 kB / 3.313 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001902/7.247, allocations: 1.115 MB / 3.314 GB, free: 212.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=150): time 9.017e-06/7.247, allocations: 0 / 3.314 GB, free: 212.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=187): time 0.04362/7.29, allocations: 14.12 MB / 3.328 GB, free: 206.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001739/7.291, allocations: 0.5023 MB / 3.328 GB, free: 205.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/7.295, allocations: 2.282 MB / 3.33 GB, free: 204.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/7.296, allocations: 59.83 kB / 3.33 GB, free: 204.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/7.298, allocations: 1.508 MB / 3.332 GB, free: 203.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007777/7.299, allocations: 0.6278 MB / 3.333 GB, free: 203 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/7.299, allocations: 40.12 kB / 3.333 GB, free: 203 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000129/7.299, allocations: 392.5 kB / 3.333 GB, free: 202.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/7.301, allocations: 1.13 MB / 3.334 GB, free: 202.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/7.303, allocations: 1.661 MB / 3.336 GB, free: 201.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05532/7.358, allocations: 14.54 MB / 3.35 GB, free: 198.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.212e-05/7.358, allocations: 3.906 kB / 3.35 GB, free: 198.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01466/7.373, allocations: 5.061 MB / 3.355 GB, free: 197 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002668/7.373, allocations: 437.9 kB / 3.355 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/7.373, allocations: 11.44 kB / 3.355 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009579/7.383, allocations: 2.419 MB / 3.358 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/7.385, allocations: 477 kB / 3.358 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/7.402, allocations: 14.04 MB / 3.372 GB, free: 185.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/7.405, allocations: 218.2 kB / 3.372 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005325/7.405, allocations: 85.2 kB / 3.372 GB, free: 185.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/7.405, allocations: 3.938 kB / 3.372 GB, free: 185.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01072/7.416, allocations: 4.117 MB / 3.376 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.136e-05/7.416, allocations: 14.53 kB / 3.376 GB, free: 184.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006075/7.422, allocations: 1.595 MB / 3.378 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/7.425, allocations: 491.3 kB / 3.378 GB, free: 184.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/7.435, allocations: 7.951 MB / 3.386 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002614/7.438, allocations: 184 kB / 3.386 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004755/7.438, allocations: 91.97 kB / 3.386 GB, free: 178.6 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.003027/7.441, allocations: 1.266 MB / 3.387 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/7.442, allocations: 235.2 kB / 3.388 GB, free: 177.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/7.455, allocations: 4.753 MB / 3.392 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/7.455, allocations: 23.28 kB / 3.392 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-05/7.455, allocations: 3.812 kB / 3.392 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.463e-05/7.455, allocations: 23.17 kB / 3.392 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/7.478, allocations: 9.842 MB / 3.402 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/7.478, allocations: 7.875 kB / 3.402 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/7.479, allocations: 358.7 kB / 3.402 GB, free: 169.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008447/7.488, allocations: 2.224 MB / 3.404 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004913/7.488, allocations: 47.98 kB / 3.404 GB, free: 167.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01475/7.503, allocations: 13.61 MB / 3.418 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/7.503, allocations: 4 kB / 3.418 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/7.515, allocations: 4.754 MB / 3.422 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/7.517, allocations: 0.6931 MB / 3.423 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009732/7.518, allocations: 47.98 kB / 3.423 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/7.52, allocations: 211.6 kB / 3.423 GB, free: 147.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005959/7.521, allocations: 153.7 kB / 3.423 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002235/7.521, allocations: 59.98 kB / 3.424 GB, free: 147.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00303/7.524, allocations: 1.606 MB / 3.425 GB, free: 145.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.1e-07/7.524, allocations: 0 / 3.425 GB, free: 145.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006163/7.53, allocations: 1.316 MB / 3.426 GB, free: 144.2 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.001825/7.532, allocations: 0.7304 MB / 3.427 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01019/7.542, allocations: 5.893 MB / 3.433 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/7.543, allocations: 4 kB / 3.433 GB, free: 137.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004187/7.547, allocations: 2.426 MB / 3.435 GB, free: 135.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/7.552, allocations: 0.6054 MB / 3.436 GB, free: 134.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/7.563, allocations: 7.897 MB / 3.444 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002806/7.566, allocations: 2.468 MB / 3.446 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003403/7.57, allocations: 1.017 MB / 3.447 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007234/7.57, allocations: 207.3 kB / 3.447 GB, free: 122.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.92e-07/7.57, allocations: 0 / 3.447 GB, free: 122.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06873/7.639, allocations: 49.77 MB / 3.496 GB, free: 73.27 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)