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.7784/0.7784, allocations: 132.5 MB / 139.9 MB, free: 15.41 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.0009777/0.0009776, allocations: 171.3 kB / 171.8 MB, free: 2.004 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.578/1.578, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001859/0.001859, allocations: 125.1 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.5328/0.5329, allocations: 73.4 MB / 0.6666 GB, free: 46.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.742/6.275, allocations: 2.161 GB / 2.827 GB, free: 176.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/6.276, allocations: 105.9 kB / 2.827 GB, free: 176.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1684/6.444, allocations: 81.82 MB / 2.907 GB, free: 134 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/6.444, allocations: 3.938 kB / 2.907 GB, free: 134 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.397e-05/6.444, allocations: 28 kB / 2.907 GB, free: 134 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.002373/6.447, allocations: 1.44 MB / 2.909 GB, free: 132.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/6.447, allocations: 8.031 kB / 2.909 GB, free: 132.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/6.449, allocations: 417.7 kB / 2.909 GB, free: 132.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/6.451, allocations: 0.7406 MB / 2.91 GB, free: 131.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/6.451, allocations: 35.61 kB / 2.91 GB, free: 131.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/6.451, allocations: 64 kB / 2.91 GB, free: 131.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/6.453, allocations: 1.32 MB / 2.911 GB, free: 129.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/6.454, allocations: 1.111 MB / 2.912 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/6.454, allocations: 0 / 2.912 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/6.455, allocations: 8 kB / 2.912 GB, free: 128.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.374e-05/6.455, allocations: 53.98 kB / 2.912 GB, free: 128.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005271/6.46, allocations: 3.979 MB / 2.916 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/6.461, allocations: 0.9778 MB / 2.917 GB, free: 123.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004795/6.462, allocations: 416.5 kB / 2.918 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/6.462, allocations: 0.554 MB / 2.918 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007663/6.463, allocations: 0.5559 MB / 2.919 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.206e-06/6.463, allocations: 0 / 2.919 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.005961/6.469, allocations: 1.758 MB / 2.92 GB, free: 120.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/6.469, allocations: 226.3 kB / 2.921 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000882/6.47, allocations: 0.6916 MB / 2.921 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/6.47, allocations: 29.7 kB / 2.921 GB, free: 119.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/6.471, allocations: 499.9 kB / 2.922 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002123/6.471, allocations: 299.4 kB / 2.922 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/6.471, allocations: 0 / 2.922 GB, free: 118.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001024/6.471, allocations: 398.7 kB / 2.922 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/6.471, allocations: 350.5 kB / 2.923 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/6.472, allocations: 0.5155 MB / 2.923 GB, free: 117 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/6.476, allocations: 0.8258 MB / 2.924 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/6.476, allocations: 11.88 kB / 2.924 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005033/6.481, allocations: 1.57 MB / 2.926 GB, free: 114.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/6.481, allocations: 1.22 MB / 2.927 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/6.481, allocations: 4 kB / 2.927 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006009/6.482, allocations: 128.7 kB / 2.927 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009545/6.483, allocations: 219.7 kB / 2.927 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004881/6.483, allocations: 0.65 MB / 2.928 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/6.484, allocations: 83.38 kB / 2.928 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/6.484, allocations: 43.97 kB / 2.928 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/6.484, allocations: 8.062 kB / 2.928 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004252/6.488, allocations: 1.319 MB / 2.929 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/6.488, allocations: 4 kB / 2.929 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/6.488, allocations: 8 kB / 2.929 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/6.489, allocations: 232 kB / 2.929 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/6.489, allocations: 11.94 kB / 2.929 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/6.49, allocations: 91.3 kB / 2.93 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.415e-05/6.49, allocations: 39.98 kB / 2.93 GB, free: 110.4 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.000268/6.491, allocations: 124.8 kB / 2.93 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/6.491, allocations: 94.88 kB / 2.93 GB, free: 110.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00563/6.496, allocations: 1.721 MB / 2.931 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/6.497, allocations: 12 kB / 2.931 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/6.497, allocations: 48 / 2.931 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/6.497, allocations: 7.969 kB / 2.931 GB, free: 108.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007042/6.504, allocations: 2.873 MB / 2.934 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/6.504, allocations: 0 / 2.934 GB, free: 105.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008922/6.505, allocations: 203.7 kB / 2.934 GB, free: 105.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007624/6.505, allocations: 216.7 kB / 2.935 GB, free: 105.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.369e-05/6.505, allocations: 19.98 kB / 2.935 GB, free: 105 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/6.507, allocations: 1.748 MB / 2.936 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/6.507, allocations: 4 kB / 2.936 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/6.513, allocations: 1.818 MB / 2.938 GB, free: 101.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/6.513, allocations: 355.4 kB / 2.939 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/6.514, allocations: 4 kB / 2.939 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/6.515, allocations: 79.89 kB / 2.939 GB, free: 100.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/6.515, allocations: 72.64 kB / 2.939 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/6.515, allocations: 39.98 kB / 2.939 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0009191/6.516, allocations: 0.546 MB / 2.939 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/6.516, allocations: 0 / 2.939 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002332/6.518, allocations: 495.8 kB / 2.94 GB, free: 99.68 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.001545/6.52, allocations: 0.5741 MB / 2.94 GB, free: 99.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002598/6.522, allocations: 1.754 MB / 2.942 GB, free: 97.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/6.523, allocations: 0 / 2.942 GB, free: 97.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009782/6.523, allocations: 0.6151 MB / 2.943 GB, free: 96.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/6.525, allocations: 216.8 kB / 2.943 GB, free: 96.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/6.528, allocations: 1.673 MB / 2.944 GB, free: 94.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007843/6.529, allocations: 1.178 MB / 2.946 GB, free: 93.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002368/6.532, allocations: 0.5803 MB / 2.946 GB, free: 93.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/6.532, allocations: 91.39 kB / 2.946 GB, free: 92.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.633e-06/6.532, allocations: 4 kB / 2.946 GB, free: 92.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.03072/6.563, allocations: 16.32 MB / 2.962 GB, free: 76.66 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)