Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6873/0.6873, allocations: 132.3 MB / 144.9 MB, free: 10.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001099/0.001099, allocations: 175.2 kB / 176.9 MB, free: 2.207 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.193/1.193, allocations: 170.5 MB / 379.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001557/0.001557, allocations: 121.3 kB / 450 MB, free: 5.855 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4238/0.4238, allocations: 73.39 MB / 0.6736 GB, free: 47.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.898/5.322, allocations: 2.189 GB / 2.862 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/5.322, allocations: 109.3 kB / 2.862 GB, free: 145.1 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.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 3.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.6889/6.011, allocations: 178.5 MB / 3.037 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.387e-06/6.011, allocations: 1.281 kB / 3.037 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002776/6.011, allocations: 83.78 kB / 3.037 GB, free: 125.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 810 * Number of variables: 810 Notification: Performance of Generate backend data structure: time 0.0101/6.021, allocations: 3.193 MB / 3.04 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/6.021, allocations: 8.469 kB / 3.04 GB, free: 123.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006554/6.028, allocations: 0.9334 MB / 3.041 GB, free: 123.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00621/6.034, allocations: 2.157 MB / 3.043 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/6.035, allocations: 233.3 kB / 3.043 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/6.036, allocations: 302.9 kB / 3.043 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/6.047, allocations: 4.338 MB / 3.048 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.953e-05/6.048, allocations: 23.78 kB / 3.048 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/6.048, allocations: 128.4 kB / 3.048 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/6.048, allocations: 168 kB / 3.048 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006377/6.055, allocations: 3.961 MB / 3.052 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/6.076, allocations: 15.17 MB / 3.067 GB, free: 117.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/6.079, allocations: 1.898 MB / 3.069 GB, free: 117.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/6.08, allocations: 0.9785 MB / 3.069 GB, free: 117.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/6.081, allocations: 0.5563 MB / 3.07 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001685/6.083, allocations: 1.126 MB / 3.071 GB, free: 117 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=150): time 3.918e-06/6.083, allocations: 0 / 3.071 GB, free: 117 MB / 0.6198 GB Notification: Performance of matching and sorting (n=187): time 0.03147/6.114, allocations: 11.96 MB / 3.083 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/6.115, allocations: 442.3 kB / 3.083 GB, free: 111.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/6.118, allocations: 1.923 MB / 3.085 GB, free: 110.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004648/6.118, allocations: 67.83 kB / 3.085 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00141/6.12, allocations: 1.441 MB / 3.087 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000656/6.12, allocations: 0.6219 MB / 3.087 GB, free: 109.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/6.121, allocations: 40.31 kB / 3.087 GB, free: 109 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000134/6.121, allocations: 384.6 kB / 3.088 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/6.123, allocations: 1.162 MB / 3.089 GB, free: 108.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/6.124, allocations: 1.66 MB / 3.09 GB, free: 107.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/6.126, allocations: 1.549 MB / 3.092 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/6.126, allocations: 7.359 kB / 3.092 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01042/6.137, allocations: 4.862 MB / 3.097 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009907/6.138, allocations: 4.737 MB / 3.101 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/6.138, allocations: 11.16 kB / 3.101 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006151/6.144, allocations: 1.852 MB / 3.103 GB, free: 99.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/6.146, allocations: 484.9 kB / 3.104 GB, free: 99.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009278/6.155, allocations: 9.519 MB / 3.113 GB, free: 92.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/6.158, allocations: 210.8 kB / 3.113 GB, free: 92.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/6.158, allocations: 93.81 kB / 3.113 GB, free: 92.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/6.158, allocations: 4.594 kB / 3.113 GB, free: 92.14 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007615/6.166, allocations: 4.045 MB / 3.117 GB, free: 90.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/6.166, allocations: 9.5 kB / 3.117 GB, free: 90.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003951/6.17, allocations: 1.181 MB / 3.118 GB, free: 90.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/6.172, allocations: 0.4961 MB / 3.119 GB, free: 90.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007957/6.18, allocations: 7.514 MB / 3.126 GB, free: 85.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002902/6.183, allocations: 177.4 kB / 3.126 GB, free: 85.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003821/6.184, allocations: 95.08 kB / 3.126 GB, free: 85.07 MB / 0.6198 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: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * 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.0008001/6.184, allocations: 237.8 kB / 3.127 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009165/6.185, allocations: 221 kB / 3.127 GB, free: 84.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/6.196, allocations: 4.437 MB / 3.131 GB, free: 83.32 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/6.196, allocations: 18.53 kB / 3.131 GB, free: 83.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/6.196, allocations: 7.594 kB / 3.131 GB, free: 83.32 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/6.196, allocations: 10.59 kB / 3.131 GB, free: 83.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/6.213, allocations: 9.51 MB / 3.14 GB, free: 79.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/6.213, allocations: 6.188 kB / 3.14 GB, free: 79.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/6.214, allocations: 373 kB / 3.141 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006163/6.221, allocations: 1.808 MB / 3.143 GB, free: 79.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003893/6.221, allocations: 51.3 kB / 3.143 GB, free: 79.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/6.233, allocations: 13.15 MB / 3.155 GB, free: 68.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/6.233, allocations: 7.844 kB / 3.155 GB, free: 68.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009342/6.243, allocations: 4.727 MB / 3.16 GB, free: 66.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/6.244, allocations: 0.6878 MB / 3.161 GB, free: 66.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/6.245, allocations: 42.36 kB / 3.161 GB, free: 66.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/6.246, allocations: 201 kB / 3.161 GB, free: 66.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/6.247, allocations: 151.3 kB / 3.161 GB, free: 66.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/6.247, allocations: 65.41 kB / 3.161 GB, free: 66.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001797/6.249, allocations: 1.49 MB / 3.163 GB, free: 65.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/6.249, allocations: 0 / 3.163 GB, free: 65.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003831/6.252, allocations: 1.336 MB / 3.164 GB, free: 65.48 MB / 0.6198 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 172 * 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.001837/6.254, allocations: 0.9047 MB / 3.165 GB, free: 65.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.008821/6.263, allocations: 6.081 MB / 3.171 GB, free: 62.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/6.263, allocations: 4.375 kB / 3.171 GB, free: 62.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003428/6.267, allocations: 2.32 MB / 3.173 GB, free: 60.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/6.269, allocations: 0.5051 MB / 3.173 GB, free: 60.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008991/6.278, allocations: 5.282 MB / 3.179 GB, free: 58.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/6.28, allocations: 2.508 MB / 3.181 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004106/6.284, allocations: 1.39 MB / 3.182 GB, free: 55.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/6.285, allocations: 158.9 kB / 3.183 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/6.285, allocations: 0 / 3.183 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.06396/6.349, allocations: 49.15 MB / 3.231 GB, free: 16.42 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1)