Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8242/0.8242, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.00123/0.00123, allocations: 163 kB / 171.6 MB, free: 1.988 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.279/1.279, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.001628/0.001628, allocations: 123.6 kB / 444.4 MB, free: 9.383 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.3784/0.3784, allocations: 73.38 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.511/4.889, allocations: 2.165 GB / 2.831 GB, free: 30.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/4.89, allocations: 104.5 kB / 2.831 GB, free: 30.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.5719/5.462, allocations: 89.67 MB / 2.918 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001928/5.462, allocations: 35.12 kB / 2.918 GB, free: 188.1 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.005801/5.468, allocations: 1.472 MB / 2.92 GB, free: 187 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.064e-05/5.468, allocations: 8.031 kB / 2.92 GB, free: 187 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/5.472, allocations: 439.1 kB / 2.92 GB, free: 186.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/5.475, allocations: 0.7442 MB / 2.921 GB, free: 186.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/5.475, allocations: 32.97 kB / 2.921 GB, free: 186.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004537/5.475, allocations: 60.94 kB / 2.921 GB, free: 186.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003443/5.479, allocations: 1.341 MB / 2.922 GB, free: 185.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/5.482, allocations: 1.129 MB / 2.923 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/5.482, allocations: 5.062 kB / 2.923 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/5.482, allocations: 6.234 kB / 2.923 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.59e-05/5.482, allocations: 56.7 kB / 2.924 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007921/5.49, allocations: 3.986 MB / 2.927 GB, free: 181.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/5.492, allocations: 0.9683 MB / 2.928 GB, free: 181.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007547/5.492, allocations: 423.7 kB / 2.929 GB, free: 181.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/5.493, allocations: 0.5531 MB / 2.929 GB, free: 180.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009422/5.494, allocations: 0.5547 MB / 2.93 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 6.792e-06/5.494, allocations: 0 / 2.93 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.004246/5.498, allocations: 1.448 MB / 2.931 GB, free: 179.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/5.499, allocations: 220 kB / 2.931 GB, free: 179.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/5.5, allocations: 0.6972 MB / 2.932 GB, free: 178.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.844e-05/5.5, allocations: 31.98 kB / 2.932 GB, free: 178.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/5.5, allocations: 393.5 kB / 2.933 GB, free: 178.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/5.501, allocations: 310.7 kB / 2.933 GB, free: 178.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/5.501, allocations: 5.438 kB / 2.933 GB, free: 178.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001553/5.501, allocations: 398.2 kB / 2.933 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/5.501, allocations: 357 kB / 2.934 GB, free: 177.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007597/5.502, allocations: 0.5155 MB / 2.934 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/5.504, allocations: 0.5375 MB / 2.935 GB, free: 176.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/5.504, allocations: 1.438 kB / 2.935 GB, free: 176.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003163/5.507, allocations: 1.223 MB / 2.936 GB, free: 176.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003451/5.507, allocations: 1.137 MB / 2.937 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/5.507, allocations: 11.03 kB / 2.937 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000696/5.508, allocations: 105.9 kB / 2.937 GB, free: 175.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/5.509, allocations: 215.4 kB / 2.937 GB, free: 175 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006025/5.51, allocations: 0.6622 MB / 2.938 GB, free: 174.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/5.511, allocations: 84.45 kB / 2.938 GB, free: 174.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/5.511, allocations: 45.59 kB / 2.938 GB, free: 174.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/5.511, allocations: 3.531 kB / 2.938 GB, free: 174.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002344/5.513, allocations: 0.9868 MB / 2.939 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/5.513, allocations: 2.75 kB / 2.939 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/5.513, allocations: 8.25 kB / 2.939 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/5.514, allocations: 229.2 kB / 2.939 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/5.515, allocations: 5.344 kB / 2.939 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/5.515, allocations: 82.69 kB / 2.939 GB, free: 173.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/5.516, allocations: 40.77 kB / 2.939 GB, free: 173.8 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.0003095/5.516, allocations: 135.3 kB / 2.939 GB, free: 173.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003248/5.516, allocations: 97.81 kB / 2.94 GB, free: 173.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/5.52, allocations: 1.455 MB / 2.941 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/5.52, allocations: 10.62 kB / 2.941 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/5.52, allocations: 3 kB / 2.941 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/5.52, allocations: 11.89 kB / 2.941 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005467/5.525, allocations: 2.559 MB / 2.943 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/5.525, allocations: 5.906 kB / 2.943 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/5.526, allocations: 197.6 kB / 2.944 GB, free: 171 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/5.527, allocations: 188.9 kB / 2.944 GB, free: 170.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-05/5.527, allocations: 19.97 kB / 2.944 GB, free: 170.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/5.529, allocations: 1.692 MB / 2.946 GB, free: 169 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/5.529, allocations: 0 / 2.946 GB, free: 169 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002779/5.532, allocations: 1.503 MB / 2.947 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007263/5.533, allocations: 351.4 kB / 2.947 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002735/5.533, allocations: 11.98 kB / 2.947 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009796/5.534, allocations: 67.92 kB / 2.947 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/5.534, allocations: 60.69 kB / 2.947 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.778e-05/5.534, allocations: 39.98 kB / 2.948 GB, free: 166.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0007485/5.535, allocations: 0.5538 MB / 2.948 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002209/5.537, allocations: 0.5251 MB / 2.949 GB, free: 165.8 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.001613/5.539, allocations: 0.6688 MB / 2.949 GB, free: 165.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002424/5.541, allocations: 1.61 MB / 2.951 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/5.541, allocations: 1.5 kB / 2.951 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008939/5.542, allocations: 0.6136 MB / 2.951 GB, free: 163 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/5.543, allocations: 208.9 kB / 2.952 GB, free: 162.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/5.547, allocations: 1.728 MB / 2.953 GB, free: 161.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/5.548, allocations: 1.298 MB / 2.955 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of SimCode: time 1.703e-06/5.548, allocations: 0 / 2.955 GB, free: 159.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.03837/5.587, allocations: 23.59 MB / 2.978 GB, free: 136.3 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)