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_N.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_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8244/0.8244, allocations: 132.4 MB / 139.9 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001027/0.001027, allocations: 176.6 kB / 171.8 MB, free: 4.941 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.316/1.316, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001629/0.001629, allocations: 108 kB / 444.8 MB, free: 14.17 MB / 314.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.1577/0.1577, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.818/5.976, allocations: 2.19 GB / 2.856 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/5.976, allocations: 105.2 kB / 2.856 GB, free: 23.15 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.9094/6.886, allocations: 162.5 MB / 3.015 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.827e-06/6.886, allocations: 0 / 3.015 GB, free: 119.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003705/6.886, allocations: 79.94 kB / 3.015 GB, free: 119.3 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: 799 * Number of variables: 799 Notification: Performance of Generate backend data structure: time 0.01394/6.9, allocations: 3.085 MB / 3.018 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/6.9, allocations: 12.03 kB / 3.018 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/6.911, allocations: 0.9374 MB / 3.019 GB, free: 115.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007335/6.919, allocations: 2.008 MB / 3.021 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/6.919, allocations: 96 kB / 3.021 GB, free: 113 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/6.921, allocations: 180 kB / 3.021 GB, free: 112.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01204/6.933, allocations: 3.51 MB / 3.025 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/6.951, allocations: 3.826 MB / 3.029 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002687/6.951, allocations: 4 kB / 3.029 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002187/6.954, allocations: 7.938 kB / 3.029 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000419/6.954, allocations: 169.9 kB / 3.029 GB, free: 105.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03927/6.993, allocations: 13.5 MB / 3.042 GB, free: 91.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/6.997, allocations: 1.756 MB / 3.044 GB, free: 89.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/6.999, allocations: 0.9148 MB / 3.044 GB, free: 88.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009879/7, allocations: 0.5577 MB / 3.045 GB, free: 88.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00223/7.002, allocations: 1.062 MB / 3.046 GB, free: 86.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=147): time 7.284e-06/7.002, allocations: 0 / 3.046 GB, free: 86.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182): time 0.03661/7.039, allocations: 11.09 MB / 3.057 GB, free: 75.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/7.039, allocations: 0.5055 MB / 3.057 GB, free: 75.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/7.043, allocations: 1.579 MB / 3.059 GB, free: 73.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007149/7.044, allocations: 33.7 kB / 3.059 GB, free: 73.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001921/7.046, allocations: 1.411 MB / 3.06 GB, free: 72.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/7.047, allocations: 0.5851 MB / 3.061 GB, free: 71.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/7.047, allocations: 0 / 3.061 GB, free: 71.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001581/7.048, allocations: 390.1 kB / 3.061 GB, free: 71.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/7.05, allocations: 1.094 MB / 3.062 GB, free: 70.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/7.052, allocations: 1.642 MB / 3.064 GB, free: 68.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008248/7.061, allocations: 1.836 MB / 3.066 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.144e-05/7.061, allocations: 4 kB / 3.066 GB, free: 66.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01627/7.077, allocations: 4.455 MB / 3.07 GB, free: 61.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001446/7.079, allocations: 5.887 MB / 3.076 GB, free: 55.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/7.079, allocations: 19.98 kB / 3.076 GB, free: 55.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005109/7.084, allocations: 1.097 MB / 3.077 GB, free: 54.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003081/7.087, allocations: 0.4914 MB / 3.077 GB, free: 54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00914/7.096, allocations: 5.569 MB / 3.083 GB, free: 48.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/7.1, allocations: 179.7 kB / 3.083 GB, free: 48.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006176/7.1, allocations: 99.91 kB / 3.083 GB, free: 48.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/7.1, allocations: 9.672 kB / 3.083 GB, free: 48.02 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0104/7.111, allocations: 2.904 MB / 3.086 GB, free: 45.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.947e-05/7.111, allocations: 16 kB / 3.086 GB, free: 45.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-05/7.111, allocations: 28.89 kB / 3.086 GB, free: 45.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002979/7.114, allocations: 0.5344 MB / 3.087 GB, free: 44.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.248e-05/7.114, allocations: 35.86 kB / 3.087 GB, free: 44.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/7.116, allocations: 123.7 kB / 3.087 GB, free: 44.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/7.117, allocations: 95.97 kB / 3.087 GB, free: 44.29 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: 65 * 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 (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * 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 {(5,76.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007785/7.118, allocations: 168.4 kB / 3.087 GB, free: 44.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007424/7.118, allocations: 205.5 kB / 3.087 GB, free: 43.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01479/7.133, allocations: 4.109 MB / 3.091 GB, free: 39.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/7.133, allocations: 24 kB / 3.091 GB, free: 39.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/7.133, allocations: 4 kB / 3.091 GB, free: 39.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/7.133, allocations: 19.91 kB / 3.091 GB, free: 39.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/7.151, allocations: 8.999 MB / 3.1 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/7.151, allocations: 11.98 kB / 3.1 GB, free: 30.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/7.153, allocations: 344 kB / 3.1 GB, free: 30.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004467/7.157, allocations: 1.382 MB / 3.102 GB, free: 28.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003398/7.158, allocations: 23.98 kB / 3.102 GB, free: 28.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009827/7.167, allocations: 7.848 MB / 3.109 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.186e-05/7.168, allocations: 15.94 kB / 3.109 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/7.178, allocations: 4.705 MB / 3.114 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/7.18, allocations: 0.6349 MB / 3.115 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/7.18, allocations: 12 kB / 3.115 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/7.182, allocations: 199.7 kB / 3.115 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/7.182, allocations: 149 kB / 3.115 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/7.183, allocations: 67.97 kB / 3.115 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001593/7.184, allocations: 1.203 MB / 3.116 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/7.184, allocations: 0 / 3.116 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004221/7.188, allocations: 1.164 MB / 3.117 GB, free: 12.4 MB / 0.6198 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.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 (162): * Single equations (assignments): 158 * 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,76.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001639/7.19, allocations: 0.7516 MB / 3.118 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00621/7.196, allocations: 4.71 MB / 3.123 GB, free: 7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/7.196, allocations: 4 kB / 3.123 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/7.199, allocations: 1.736 MB / 3.124 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/7.202, allocations: 438.1 kB / 3.125 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4135/7.615, allocations: 5.032 MB / 3.13 GB, free: 145.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004581/7.62, allocations: 2.421 MB / 3.132 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.005275/7.625, allocations: 1.317 MB / 3.133 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005541/7.626, allocations: 147.1 kB / 3.133 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/7.626, allocations: 0 / 3.133 GB, free: 145.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.1082/7.734, allocations: 39.9 MB / 3.172 GB, free: 143.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)