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.735/0.735, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001082/0.001082, allocations: 172.2 kB / 180.9 MB, free: 15.09 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.513/1.513, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001817/0.001817, allocations: 119.2 kB / 454.6 MB, free: 9.707 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.2127/0.2132, allocations: 73.41 MB / 0.6812 GB, free: 5.535 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.159/6.372, allocations: 2.16 GB / 2.841 GB, free: 43.01 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/6.373, allocations: 99.95 kB / 2.842 GB, free: 42.91 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.6385/7.011, allocations: 74.91 MB / 2.915 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.276e-06/7.011, allocations: 3.188 kB / 2.915 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001907/7.012, allocations: 26 kB / 2.915 GB, free: 177.7 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.005941/7.018, allocations: 1.495 MB / 2.916 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/7.018, allocations: 9.906 kB / 2.916 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/7.021, allocations: 387.3 kB / 2.917 GB, free: 176.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/7.023, allocations: 0.7035 MB / 2.917 GB, free: 176.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/7.023, allocations: 83.81 kB / 2.917 GB, free: 176.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004449/7.024, allocations: 102.6 kB / 2.917 GB, free: 176.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/7.027, allocations: 1.164 MB / 2.919 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/7.027, allocations: 0 / 2.919 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/7.028, allocations: 48.3 kB / 2.919 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.434e-05/7.028, allocations: 54.36 kB / 2.919 GB, free: 176.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/7.031, allocations: 1.377 MB / 2.92 GB, free: 176.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008678/7.04, allocations: 4.038 MB / 2.924 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/7.042, allocations: 0.946 MB / 2.925 GB, free: 173.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/7.043, allocations: 469.9 kB / 2.925 GB, free: 173 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001416/7.045, allocations: 0.5156 MB / 2.926 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 5.971e-06/7.045, allocations: 4 kB / 2.926 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.003497/7.048, allocations: 1.225 MB / 2.927 GB, free: 172.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/7.048, allocations: 276.8 kB / 2.927 GB, free: 171.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/7.05, allocations: 0.7751 MB / 2.928 GB, free: 171.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/7.05, allocations: 44.05 kB / 2.928 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/7.051, allocations: 482.3 kB / 2.929 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/7.051, allocations: 266.9 kB / 2.929 GB, free: 171 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/7.051, allocations: 15.19 kB / 2.929 GB, free: 171 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001029/7.051, allocations: 337.3 kB / 2.929 GB, free: 170.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000815/7.052, allocations: 316.6 kB / 2.929 GB, free: 170.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/7.053, allocations: 493.9 kB / 2.93 GB, free: 170.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009286/7.054, allocations: 451.5 kB / 2.93 GB, free: 170 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/7.054, allocations: 0 / 2.93 GB, free: 170 MB / 0.6198 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002516/7.057, allocations: 1.085 MB / 2.931 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003117/7.057, allocations: 1.039 MB / 2.932 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/7.057, allocations: 3.703 kB / 2.932 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00025/7.057, allocations: 32.67 kB / 2.932 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/7.058, allocations: 190.5 kB / 2.933 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003328/7.059, allocations: 0.5327 MB / 2.933 GB, free: 167.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/7.06, allocations: 108.4 kB / 2.933 GB, free: 167.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/7.06, allocations: 37.69 kB / 2.933 GB, free: 167.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/7.06, allocations: 3.219 kB / 2.933 GB, free: 167.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001997/7.062, allocations: 0.9745 MB / 2.934 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/7.062, allocations: 0.5625 kB / 2.934 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/7.062, allocations: 14.05 kB / 2.934 GB, free: 167.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008996/7.063, allocations: 196.4 kB / 2.934 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/7.063, allocations: 6.094 kB / 2.934 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009709/7.064, allocations: 101.7 kB / 2.935 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/7.064, allocations: 37.27 kB / 2.935 GB, free: 167.3 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 () * Number of clocked 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.0009059/7.065, allocations: 397.7 kB / 2.935 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/7.065, allocations: 98.75 kB / 2.935 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/7.068, allocations: 1.079 MB / 2.936 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/7.068, allocations: 13.66 kB / 2.936 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/7.068, allocations: 0 / 2.936 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/7.068, allocations: 7.422 kB / 2.936 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/7.071, allocations: 1.287 MB / 2.937 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/7.071, allocations: 0 / 2.937 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/7.071, allocations: 181.6 kB / 2.938 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/7.072, allocations: 21.03 kB / 2.938 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/7.072, allocations: 30.03 kB / 2.938 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008252/7.073, allocations: 1.282 MB / 2.939 GB, free: 164.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.073, allocations: 3.188 kB / 2.939 GB, free: 164.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/7.075, allocations: 0.972 MB / 2.94 GB, free: 164 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000696/7.075, allocations: 329.1 kB / 2.94 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/7.076, allocations: 14.25 kB / 2.94 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008242/7.077, allocations: 72.45 kB / 2.94 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/7.077, allocations: 61.84 kB / 2.94 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.991e-05/7.077, allocations: 35.66 kB / 2.94 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001115/7.078, allocations: 0.6154 MB / 2.941 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/7.078, allocations: 0 / 2.941 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002334/7.08, allocations: 0.5894 MB / 2.941 GB, free: 163.3 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.001823/7.082, allocations: 0.6439 MB / 2.942 GB, free: 163 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003264/7.085, allocations: 1.567 MB / 2.944 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/7.085, allocations: 0 / 2.944 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/7.086, allocations: 0.5214 MB / 2.944 GB, free: 162 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/7.088, allocations: 222.3 kB / 2.944 GB, free: 161.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/7.093, allocations: 2.457 MB / 2.947 GB, free: 160.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/7.094, allocations: 1.13 MB / 2.948 GB, free: 159.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002144/7.096, allocations: 426.8 kB / 2.948 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/7.097, allocations: 101.3 kB / 2.948 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.734e-06/7.097, allocations: 0 / 2.948 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.0376/7.134, allocations: 13.93 MB / 2.962 GB, free: 158.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)