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.8168/0.8168, allocations: 132.4 MB / 139.9 MB, free: 15.35 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.001144/0.001144, allocations: 169.9 kB / 171.8 MB, free: 2.031 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.74/1.74, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001872/0.001872, allocations: 129.2 kB / 444.8 MB, free: 9.215 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.5358/0.5359, allocations: 73.39 MB / 0.6666 GB, free: 46.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.841/6.377, allocations: 2.16 GB / 2.826 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/6.378, allocations: 93.78 kB / 2.826 GB, free: 17.57 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.6326/7.01, allocations: 74.56 MB / 2.899 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.963e-06/7.01, allocations: 0 / 2.899 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001049/7.011, allocations: 34.08 kB / 2.899 GB, free: 185.8 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.002516/7.013, allocations: 1.364 MB / 2.9 GB, free: 184.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/7.013, allocations: 13.88 kB / 2.9 GB, free: 184.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/7.016, allocations: 378.5 kB / 2.901 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/7.017, allocations: 0.7112 MB / 2.901 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/7.017, allocations: 31.22 kB / 2.901 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/7.017, allocations: 56.34 kB / 2.902 GB, free: 183.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002058/7.019, allocations: 1.211 MB / 2.903 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/7.021, allocations: 0.9742 MB / 2.904 GB, free: 182.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/7.021, allocations: 0 / 2.904 GB, free: 182.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/7.021, allocations: 7.344 kB / 2.904 GB, free: 182.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.668e-05/7.021, allocations: 53.67 kB / 2.904 GB, free: 182.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/7.027, allocations: 3.833 MB / 2.907 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/7.029, allocations: 0.7856 MB / 2.908 GB, free: 179.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/7.029, allocations: 320.3 kB / 2.909 GB, free: 179.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000629/7.03, allocations: 483.4 kB / 2.909 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/7.031, allocations: 463 kB / 2.909 GB, free: 178.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 4.007e-06/7.031, allocations: 0 / 2.909 GB, free: 178.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.004848/7.036, allocations: 1.074 MB / 2.91 GB, free: 178 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/7.036, allocations: 276.4 kB / 2.911 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/7.037, allocations: 0.6817 MB / 2.911 GB, free: 177.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/7.037, allocations: 28.02 kB / 2.911 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/7.037, allocations: 483.6 kB / 2.912 GB, free: 176.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/7.038, allocations: 256.8 kB / 2.912 GB, free: 176.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/7.038, allocations: 1.25 kB / 2.912 GB, free: 176.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001397/7.038, allocations: 387 kB / 2.913 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/7.038, allocations: 255.3 kB / 2.913 GB, free: 176.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000533/7.039, allocations: 400.3 kB / 2.913 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003652/7.042, allocations: 0.678 MB / 2.914 GB, free: 175.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/7.043, allocations: 1.031 kB / 2.914 GB, free: 175.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004797/7.047, allocations: 1.217 MB / 2.915 GB, free: 174.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003364/7.048, allocations: 1.048 MB / 2.916 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/7.048, allocations: 2.625 kB / 2.916 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/7.048, allocations: 22.41 kB / 2.916 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/7.049, allocations: 188 kB / 2.916 GB, free: 173.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/7.049, allocations: 0.5368 MB / 2.917 GB, free: 173.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/7.05, allocations: 82.23 kB / 2.917 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/7.05, allocations: 41.06 kB / 2.917 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/7.05, allocations: 4.594 kB / 2.917 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004245/7.054, allocations: 1.095 MB / 2.918 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/7.054, allocations: 6.984 kB / 2.918 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/7.054, allocations: 14.47 kB / 2.918 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/7.055, allocations: 191.3 kB / 2.918 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/7.055, allocations: 9.859 kB / 2.918 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/7.056, allocations: 80.08 kB / 2.918 GB, free: 172.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/7.056, allocations: 35.45 kB / 2.918 GB, free: 172.5 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.0002644/7.056, allocations: 125.6 kB / 2.918 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/7.057, allocations: 89.53 kB / 2.918 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/7.061, allocations: 1.287 MB / 2.92 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/7.061, allocations: 11.44 kB / 2.92 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/7.061, allocations: 0 / 2.92 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/7.061, allocations: 7.922 kB / 2.92 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/7.067, allocations: 2.431 MB / 2.922 GB, free: 170.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/7.067, allocations: 0 / 2.922 GB, free: 170.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007061/7.068, allocations: 171.1 kB / 2.922 GB, free: 170 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/7.068, allocations: 24.53 kB / 2.922 GB, free: 170 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/7.068, allocations: 23.88 kB / 2.922 GB, free: 170 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007449/7.069, allocations: 1.219 MB / 2.924 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/7.069, allocations: 8 kB / 2.924 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/7.073, allocations: 1.304 MB / 2.925 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/7.074, allocations: 317.2 kB / 2.925 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/7.074, allocations: 7.891 kB / 2.925 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/7.075, allocations: 66.75 kB / 2.925 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/7.075, allocations: 63.86 kB / 2.925 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/7.075, allocations: 35.25 kB / 2.925 GB, free: 167.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006816/7.075, allocations: 0.5292 MB / 2.926 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/7.075, allocations: 0 / 2.926 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001728/7.077, allocations: 0.5466 MB / 2.926 GB, free: 167.2 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.001229/7.078, allocations: 0.5663 MB / 2.927 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001706/7.08, allocations: 1.369 MB / 2.928 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/7.08, allocations: 4.938 kB / 2.928 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005381/7.081, allocations: 462 kB / 2.929 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/7.082, allocations: 201.9 kB / 2.929 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/7.084, allocations: 1.461 MB / 2.93 GB, free: 164.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/7.085, allocations: 1.138 MB / 2.931 GB, free: 164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001725/7.086, allocations: 0.5239 MB / 2.932 GB, free: 163.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/7.087, allocations: 82.19 kB / 2.932 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of SimCode: time 6.71e-07/7.087, allocations: 0 / 2.932 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.02172/7.108, allocations: 14.2 MB / 2.946 GB, free: 153.6 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)