Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6871/0.6871, allocations: 132.3 MB / 144.9 MB, free: 10.71 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.0009716/0.0009717, allocations: 170.2 kB / 176.9 MB, free: 2.211 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.137/1.137, allocations: 170.5 MB / 379.3 MB, free: 11.96 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.001464/0.001464, allocations: 113.7 kB / 450 MB, free: 5.859 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.4329/0.433, allocations: 73.39 MB / 0.6736 GB, free: 47.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.833/5.266, allocations: 2.161 GB / 2.835 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/5.266, allocations: 102.2 kB / 2.835 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1514/5.418, allocations: 81.79 MB / 2.915 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/5.418, allocations: 4 kB / 2.915 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.621e-05/5.418, allocations: 31.94 kB / 2.915 GB, free: 100.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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.002015/5.42, allocations: 1.436 MB / 2.916 GB, free: 99.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/5.42, allocations: 8.031 kB / 2.916 GB, free: 99.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/5.422, allocations: 413.8 kB / 2.917 GB, free: 98.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/5.423, allocations: 0.7367 MB / 2.917 GB, free: 98.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/5.423, allocations: 81.69 kB / 2.917 GB, free: 98.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/5.423, allocations: 104 kB / 2.918 GB, free: 98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/5.425, allocations: 1.26 MB / 2.919 GB, free: 96.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/5.425, allocations: 3.938 kB / 2.919 GB, free: 96.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/5.425, allocations: 44 kB / 2.919 GB, free: 96.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/5.425, allocations: 53.98 kB / 2.919 GB, free: 96.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/5.427, allocations: 1.448 MB / 2.92 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/5.432, allocations: 4.193 MB / 2.924 GB, free: 90.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/5.433, allocations: 1.031 MB / 2.925 GB, free: 89.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/5.434, allocations: 451.5 kB / 2.926 GB, free: 89.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/5.434, allocations: 0.5424 MB / 2.926 GB, free: 88.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007714/5.435, allocations: 0.5926 MB / 2.927 GB, free: 88.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.336e-06/5.435, allocations: 0 / 2.927 GB, free: 88.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.002532/5.438, allocations: 1.443 MB / 2.928 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/5.438, allocations: 226.5 kB / 2.929 GB, free: 86.31 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/5.439, allocations: 0.7738 MB / 2.929 GB, free: 85.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/5.439, allocations: 45.7 kB / 2.929 GB, free: 85.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003031/5.439, allocations: 0.4883 MB / 2.93 GB, free: 84.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/5.439, allocations: 323.3 kB / 2.93 GB, free: 84.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/5.439, allocations: 16 kB / 2.93 GB, free: 84.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.142e-05/5.439, allocations: 341.9 kB / 2.931 GB, free: 84.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/5.44, allocations: 373.8 kB / 2.931 GB, free: 83.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005949/5.44, allocations: 0.5319 MB / 2.931 GB, free: 83.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006176/5.441, allocations: 0.5213 MB / 2.932 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/5.441, allocations: 0 / 2.932 GB, free: 82.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001998/5.443, allocations: 1.342 MB / 2.933 GB, free: 81.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002651/5.443, allocations: 1.221 MB / 2.934 GB, free: 80.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/5.443, allocations: 4 kB / 2.934 GB, free: 80.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/5.444, allocations: 208.6 kB / 2.935 GB, free: 79.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/5.445, allocations: 227.7 kB / 2.935 GB, free: 79.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004421/5.446, allocations: 0.6382 MB / 2.935 GB, free: 79.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/5.446, allocations: 107.4 kB / 2.936 GB, free: 78.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/5.446, allocations: 44.06 kB / 2.936 GB, free: 78.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/5.446, allocations: 5.406 kB / 2.936 GB, free: 78.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001323/5.448, allocations: 1.071 MB / 2.937 GB, free: 77.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/5.448, allocations: 12.31 kB / 2.937 GB, free: 77.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/5.448, allocations: 12 kB / 2.937 GB, free: 77.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/5.449, allocations: 223.7 kB / 2.937 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/5.449, allocations: 4 kB / 2.937 GB, free: 77.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/5.449, allocations: 103.4 kB / 2.937 GB, free: 77.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/5.45, allocations: 47.97 kB / 2.937 GB, free: 77.39 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 106 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002517/5.45, allocations: 156.7 kB / 2.937 GB, free: 77.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/5.45, allocations: 102.8 kB / 2.937 GB, free: 77.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/5.453, allocations: 1.387 MB / 2.939 GB, free: 75.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/5.453, allocations: 8 kB / 2.939 GB, free: 75.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/5.453, allocations: 3.938 kB / 2.939 GB, free: 75.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/5.453, allocations: 11.98 kB / 2.939 GB, free: 75.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/5.456, allocations: 2.658 MB / 2.941 GB, free: 72.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/5.456, allocations: 7.984 kB / 2.941 GB, free: 72.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008341/5.457, allocations: 207.7 kB / 2.941 GB, free: 72.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007183/5.458, allocations: 208.8 kB / 2.942 GB, free: 72.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/5.458, allocations: 31.97 kB / 2.942 GB, free: 72.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/5.459, allocations: 1.815 MB / 2.943 GB, free: 70.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/5.459, allocations: 3.938 kB / 2.943 GB, free: 70.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/5.461, allocations: 1.455 MB / 2.945 GB, free: 69.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/5.462, allocations: 367.3 kB / 2.945 GB, free: 68.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/5.462, allocations: 24 kB / 2.945 GB, free: 68.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007955/5.463, allocations: 95.89 kB / 2.945 GB, free: 68.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/5.463, allocations: 68.69 kB / 2.945 GB, free: 68.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/5.463, allocations: 39.97 kB / 2.945 GB, free: 68.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006587/5.464, allocations: 0.6163 MB / 2.946 GB, free: 67.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.8e-07/5.464, allocations: 3.938 kB / 2.946 GB, free: 67.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001422/5.465, allocations: 0.5388 MB / 2.947 GB, free: 67.27 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (101): * Single equations (assignments): 98 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/5.466, allocations: 0.6276 MB / 2.947 GB, free: 66.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002241/5.469, allocations: 1.825 MB / 2.949 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/5.469, allocations: 0 / 2.949 GB, free: 64.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000844/5.469, allocations: 0.6448 MB / 2.95 GB, free: 64.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/5.471, allocations: 225.1 kB / 2.95 GB, free: 64.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/5.473, allocations: 1.731 MB / 2.952 GB, free: 62.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/5.474, allocations: 1.182 MB / 2.953 GB, free: 61.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001758/5.475, allocations: 0.6001 MB / 2.953 GB, free: 60.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/5.476, allocations: 87.41 kB / 2.953 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/5.476, allocations: 0 / 2.953 GB, free: 60.32 MB / 0.6198 GB Notification: Performance of Templates: time 0.02341/5.499, allocations: 17.4 MB / 2.97 GB, free: 42.98 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)