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") [: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.7276/0.7276, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001323/0.001323, allocations: 167.4 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.477/1.477, allocations: 170.5 MB / 373.9 MB, free: 15.8 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.001675/0.001675, allocations: 112 kB / 444.4 MB, free: 9.352 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.5859/0.5859, allocations: 73.39 MB / 0.666 GB, free: 62.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.09/4.676, allocations: 2.161 GB / 2.827 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/4.677, allocations: 108.9 kB / 2.827 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of FrontEnd: time 0.5706/5.247, allocations: 85.23 MB / 2.91 GB, free: 191.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001748/5.248, allocations: 33.69 kB / 2.91 GB, free: 191.5 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.005154/5.253, allocations: 1.46 MB / 2.911 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/5.253, allocations: 9.062 kB / 2.911 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00351/5.256, allocations: 438.3 kB / 2.912 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/5.259, allocations: 0.7522 MB / 2.913 GB, free: 189.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/5.259, allocations: 33.06 kB / 2.913 GB, free: 189.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/5.26, allocations: 60.28 kB / 2.913 GB, free: 189.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003304/5.263, allocations: 1.342 MB / 2.914 GB, free: 188.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/5.266, allocations: 1.121 MB / 2.915 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/5.266, allocations: 11.11 kB / 2.915 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/5.266, allocations: 4 kB / 2.915 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-05/5.266, allocations: 61.81 kB / 2.915 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008224/5.274, allocations: 3.986 MB / 2.919 GB, free: 185.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/5.276, allocations: 0.9619 MB / 2.92 GB, free: 184.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/5.277, allocations: 429.3 kB / 2.92 GB, free: 184.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008461/5.278, allocations: 0.5462 MB / 2.921 GB, free: 183.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009374/5.279, allocations: 0.5574 MB / 2.921 GB, free: 183.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.666e-06/5.279, allocations: 0 / 2.921 GB, free: 183.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.004169/5.283, allocations: 1.45 MB / 2.923 GB, free: 182.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/5.283, allocations: 221 kB / 2.923 GB, free: 182.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/5.284, allocations: 0.6945 MB / 2.924 GB, free: 182 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/5.284, allocations: 27.83 kB / 2.924 GB, free: 182 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/5.285, allocations: 400.9 kB / 2.924 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/5.285, allocations: 303.2 kB / 2.924 GB, free: 181.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/5.285, allocations: 5.594 kB / 2.924 GB, free: 181.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001399/5.285, allocations: 396.1 kB / 2.925 GB, free: 181 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/5.286, allocations: 358.5 kB / 2.925 GB, free: 180.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/5.286, allocations: 0.5179 MB / 2.926 GB, free: 180.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/5.288, allocations: 0.5324 MB / 2.926 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/5.288, allocations: 0 / 2.926 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002459/5.29, allocations: 1.225 MB / 2.927 GB, free: 179.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002881/5.29, allocations: 1.144 MB / 2.929 GB, free: 178.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/5.29, allocations: 2.969 kB / 2.929 GB, free: 178.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006775/5.291, allocations: 104.4 kB / 2.929 GB, free: 178.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/5.292, allocations: 220.1 kB / 2.929 GB, free: 178.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007202/5.293, allocations: 0.6526 MB / 2.929 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/5.294, allocations: 84.34 kB / 2.93 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/5.294, allocations: 49.48 kB / 2.93 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/5.294, allocations: 3.031 kB / 2.93 GB, free: 177.7 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/5.296, allocations: 0.9909 MB / 2.931 GB, free: 177.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/5.296, allocations: 6.891 kB / 2.931 GB, free: 177.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/5.296, allocations: 8 kB / 2.931 GB, free: 177.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/5.298, allocations: 228 kB / 2.931 GB, free: 176.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/5.298, allocations: 8 kB / 2.931 GB, free: 176.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008321/5.298, allocations: 79.33 kB / 2.931 GB, free: 176.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/5.298, allocations: 47.97 kB / 2.931 GB, free: 176.7 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.0003362/5.299, allocations: 117.7 kB / 2.931 GB, free: 176.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/5.299, allocations: 102.8 kB / 2.931 GB, free: 176.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/5.303, allocations: 1.451 MB / 2.933 GB, free: 175 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/5.303, allocations: 12 kB / 2.933 GB, free: 175 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/5.303, allocations: 0 / 2.933 GB, free: 175 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/5.303, allocations: 7.969 kB / 2.933 GB, free: 175 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004748/5.307, allocations: 2.564 MB / 2.935 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/5.307, allocations: 4 kB / 2.935 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/5.308, allocations: 203.9 kB / 2.935 GB, free: 172.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008055/5.309, allocations: 188.7 kB / 2.935 GB, free: 172 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/5.309, allocations: 15.98 kB / 2.935 GB, free: 172 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/5.311, allocations: 1.685 MB / 2.937 GB, free: 170.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/5.311, allocations: 0 / 2.937 GB, free: 170.2 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002918/5.314, allocations: 1.502 MB / 2.939 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/5.315, allocations: 363.3 kB / 2.939 GB, free: 168.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/5.315, allocations: 7.984 kB / 2.939 GB, free: 168.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/5.316, allocations: 71.92 kB / 2.939 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/5.316, allocations: 60.69 kB / 2.939 GB, free: 168.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-05/5.317, allocations: 39.98 kB / 2.939 GB, free: 168 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001026/5.318, allocations: 0.5499 MB / 2.94 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002816/5.32, allocations: 0.5305 MB / 2.94 GB, free: 167 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.002116/5.323, allocations: 0.6716 MB / 2.941 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002968/5.326, allocations: 1.615 MB / 2.942 GB, free: 164.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/5.326, allocations: 0 / 2.942 GB, free: 164.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/5.327, allocations: 0.6072 MB / 2.943 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/5.328, allocations: 202 kB / 2.943 GB, free: 164 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004571/5.333, allocations: 1.736 MB / 2.945 GB, free: 162.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/5.334, allocations: 1.302 MB / 2.946 GB, free: 160.9 MB / 0.6198 GB Notification: Performance of SimCode: time 1.613e-06/5.334, allocations: 0 / 2.946 GB, free: 160.9 MB / 0.6198 GB Notification: Performance of Templates: time 0.04102/5.375, allocations: 23.6 MB / 2.969 GB, free: 137.4 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)