Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.DC.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7019/0.7019, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.001056/0.001056, allocations: 174.6 kB / 176.9 MB, free: 2.227 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.321/1.321, allocations: 170.5 MB / 379.3 MB, free: 11.92 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.001526/0.001526, allocations: 121.9 kB / 450 MB, free: 5.844 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.4781/0.4782, allocations: 73.38 MB / 0.6736 GB, free: 47.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.213/5.691, allocations: 2.16 GB / 2.834 GB, free: 211.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/5.692, allocations: 98 kB / 2.834 GB, free: 211.5 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.1415/5.833, allocations: 74.51 MB / 2.907 GB, free: 170.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/5.833, allocations: 0 / 2.907 GB, free: 170.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.851e-05/5.833, allocations: 31.98 kB / 2.907 GB, free: 170.9 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002054/5.836, allocations: 1.357 MB / 2.908 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/5.836, allocations: 8.031 kB / 2.908 GB, free: 169.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/5.838, allocations: 386 kB / 2.908 GB, free: 169.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/5.839, allocations: 0.7052 MB / 2.909 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/5.839, allocations: 73.98 kB / 2.909 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/5.839, allocations: 100 kB / 2.909 GB, free: 168.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/5.841, allocations: 1.112 MB / 2.91 GB, free: 167 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/5.841, allocations: 0 / 2.91 GB, free: 167 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/5.841, allocations: 47.98 kB / 2.91 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/5.841, allocations: 45.98 kB / 2.91 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/5.842, allocations: 1.276 MB / 2.912 GB, free: 165.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/5.848, allocations: 4.039 MB / 2.916 GB, free: 161.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/5.849, allocations: 0.8342 MB / 2.916 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/5.85, allocations: 348 kB / 2.917 GB, free: 160.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005379/5.85, allocations: 474.4 kB / 2.917 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006686/5.851, allocations: 487.8 kB / 2.918 GB, free: 159.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 3.326e-06/5.851, allocations: 7.938 kB / 2.918 GB, free: 159.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.001255/5.852, allocations: 0.7382 MB / 2.918 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/5.852, allocations: 273.8 kB / 2.919 GB, free: 158.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008599/5.853, allocations: 0.7738 MB / 2.919 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.838e-05/5.853, allocations: 45.7 kB / 2.919 GB, free: 157.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/5.853, allocations: 483.8 kB / 2.92 GB, free: 156.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/5.854, allocations: 260.2 kB / 2.92 GB, free: 156.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/5.854, allocations: 16.06 kB / 2.92 GB, free: 156.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.448e-05/5.854, allocations: 337.9 kB / 2.92 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/5.854, allocations: 265.5 kB / 2.921 GB, free: 156 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/5.855, allocations: 427.9 kB / 2.921 GB, free: 155.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/5.855, allocations: 403 kB / 2.922 GB, free: 155.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/5.855, allocations: 0 / 2.922 GB, free: 155.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001236/5.856, allocations: 0.9853 MB / 2.922 GB, free: 154.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/5.857, allocations: 1.046 MB / 2.923 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/5.857, allocations: 4 kB / 2.923 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/5.857, allocations: 28.84 kB / 2.924 GB, free: 152.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/5.857, allocations: 191.7 kB / 2.924 GB, free: 152.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002519/5.858, allocations: 0.529 MB / 2.924 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/5.858, allocations: 115.2 kB / 2.924 GB, free: 152 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/5.859, allocations: 43.97 kB / 2.924 GB, free: 152 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/5.859, allocations: 4 kB / 2.924 GB, free: 152 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/5.86, allocations: 0.8666 MB / 2.925 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/5.86, allocations: 4 kB / 2.925 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/5.86, allocations: 4 kB / 2.925 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/5.86, allocations: 191.7 kB / 2.925 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/5.86, allocations: 4.25 kB / 2.925 GB, free: 150.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/5.861, allocations: 103.2 kB / 2.926 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/5.861, allocations: 35.98 kB / 2.926 GB, free: 150.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/5.861, allocations: 162.7 kB / 2.926 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/5.861, allocations: 106.7 kB / 2.926 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/5.863, allocations: 0.9557 MB / 2.927 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/5.863, allocations: 15.98 kB / 2.927 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/5.863, allocations: 4 kB / 2.927 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/5.863, allocations: 3.984 kB / 2.927 GB, free: 149.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/5.866, allocations: 2.233 MB / 2.929 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/5.866, allocations: 0 / 2.929 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006586/5.866, allocations: 167.8 kB / 2.929 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.887e-05/5.866, allocations: 28.8 kB / 2.929 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/5.866, allocations: 32.02 kB / 2.929 GB, free: 147 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006975/5.867, allocations: 1.272 MB / 2.93 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/5.867, allocations: 4.156 kB / 2.93 GB, free: 145.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/5.868, allocations: 0.9793 MB / 2.931 GB, free: 144.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004291/5.869, allocations: 323.5 kB / 2.932 GB, free: 144.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/5.869, allocations: 23.98 kB / 2.932 GB, free: 144.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/5.869, allocations: 75.89 kB / 2.932 GB, free: 144.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/5.87, allocations: 60.64 kB / 2.932 GB, free: 144 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/5.87, allocations: 31.98 kB / 2.932 GB, free: 144 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006493/5.87, allocations: 0.6085 MB / 2.932 GB, free: 143.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.8e-07/5.87, allocations: 4 kB / 2.932 GB, free: 143.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001476/5.872, allocations: 0.5919 MB / 2.933 GB, free: 142.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/5.873, allocations: 0.609 MB / 2.934 GB, free: 142.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001759/5.875, allocations: 1.439 MB / 2.935 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/5.875, allocations: 1.25 kB / 2.935 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/5.875, allocations: 487.2 kB / 2.936 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/5.876, allocations: 231 kB / 2.936 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/5.879, allocations: 1.508 MB / 2.937 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/5.88, allocations: 1.13 MB / 2.938 GB, free: 137.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001729/5.881, allocations: 0.5528 MB / 2.939 GB, free: 136.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/5.881, allocations: 83.41 kB / 2.939 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.583e-06/5.881, allocations: 0 / 2.939 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.02062/5.902, allocations: 15.35 MB / 2.954 GB, free: 121.5 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.WindTurbine.pipe 2>&1)