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") [: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.815/0.815, allocations: 132.4 MB / 139.7 MB, free: 2.969 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001288/0.001288, allocations: 176.5 kB / 171.6 MB, free: 5.109 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.444/1.444, allocations: 170.6 MB / 373.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001795/0.001795, allocations: 112.6 kB / 444.4 MB, free: 2.445 MB / 330.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.186/0.186, allocations: 73.4 MB / 0.666 GB, free: 50.87 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.239/5.425, allocations: 2.159 GB / 2.825 GB, free: 99.42 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/5.425, allocations: 96.72 kB / 2.826 GB, free: 99.33 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: time 0.1608/5.586, allocations: 78.05 MB / 2.902 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001394/5.586, allocations: 28 kB / 2.902 GB, free: 20.96 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.003792/5.59, allocations: 1.392 MB / 2.903 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/5.59, allocations: 12.02 kB / 2.903 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003102/5.593, allocations: 417.9 kB / 2.904 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/5.595, allocations: 0.7016 MB / 2.904 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/5.595, allocations: 32 kB / 2.904 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/5.595, allocations: 56 kB / 2.904 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001862/5.597, allocations: 1.218 MB / 2.906 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/5.598, allocations: 0.9942 MB / 2.907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/5.598, allocations: 0 / 2.907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/5.599, allocations: 0 / 2.907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/5.599, allocations: 57.98 kB / 2.907 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006248/5.605, allocations: 3.866 MB / 2.91 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/5.606, allocations: 0.7629 MB / 2.911 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005091/5.607, allocations: 338.6 kB / 2.911 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006396/5.607, allocations: 474.2 kB / 2.912 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000584/5.608, allocations: 449.8 kB / 2.912 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 3.647e-06/5.608, allocations: 0 / 2.912 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.001848/5.61, allocations: 0.7728 MB / 2.913 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.742e-05/5.61, allocations: 273.8 kB / 2.913 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/5.611, allocations: 0.6874 MB / 2.914 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/5.611, allocations: 29.7 kB / 2.914 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/5.611, allocations: 391.7 kB / 2.914 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/5.611, allocations: 256.2 kB / 2.915 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/5.611, allocations: 0 / 2.915 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000129/5.611, allocations: 390.7 kB / 2.915 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/5.612, allocations: 253.5 kB / 2.915 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/5.612, allocations: 411.4 kB / 2.916 GB, free: 6.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008289/5.613, allocations: 393.8 kB / 2.916 GB, free: 5.848 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/5.613, allocations: 8 kB / 2.916 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001605/5.615, allocations: 0.8771 MB / 2.917 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002408/5.615, allocations: 0.9709 MB / 2.918 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/5.615, allocations: 0 / 2.918 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001991/5.615, allocations: 24.84 kB / 2.918 GB, free: 3.879 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/5.616, allocations: 191.7 kB / 2.918 GB, free: 3.691 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003293/5.616, allocations: 0.5367 MB / 2.919 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000755/5.617, allocations: 91.31 kB / 2.919 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/5.617, allocations: 39.97 kB / 2.919 GB, free: 3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/5.617, allocations: 4 kB / 2.919 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/5.619, allocations: 0.7623 MB / 2.919 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/5.619, allocations: 11.92 kB / 2.919 GB, free: 2.219 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/5.619, allocations: 4 kB / 2.919 GB, free: 2.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/5.62, allocations: 188.1 kB / 2.92 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/5.62, allocations: 7.984 kB / 2.92 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006294/5.62, allocations: 79.39 kB / 2.92 GB, free: 1.945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/5.62, allocations: 35.98 kB / 2.92 GB, free: 1.91 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 () * 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.0002083/5.621, allocations: 125.7 kB / 2.92 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/5.621, allocations: 90.88 kB / 2.92 GB, free: 1.691 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/5.623, allocations: 1.024 MB / 2.921 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/5.623, allocations: 11.91 kB / 2.921 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/5.623, allocations: 3.938 kB / 2.921 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/5.623, allocations: 3.984 kB / 2.921 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3282/5.951, allocations: 2.116 MB / 2.923 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/5.951, allocations: 3.906 kB / 2.923 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000812/5.952, allocations: 177.5 kB / 2.923 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/5.952, allocations: 26.59 kB / 2.923 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/5.952, allocations: 19.09 kB / 2.923 GB, free: 260.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/5.953, allocations: 1.216 MB / 2.924 GB, free: 259.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/5.953, allocations: 4.531 kB / 2.924 GB, free: 259.1 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001811/5.955, allocations: 1.001 MB / 2.925 GB, free: 258.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/5.955, allocations: 317 kB / 2.926 GB, free: 258.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/5.956, allocations: 3.875 kB / 2.926 GB, free: 258.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007236/5.956, allocations: 68.97 kB / 2.926 GB, free: 258.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/5.956, allocations: 54.64 kB / 2.926 GB, free: 258.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/5.957, allocations: 40.91 kB / 2.926 GB, free: 258.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006812/5.957, allocations: 0.5317 MB / 2.926 GB, free: 258.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001864/5.959, allocations: 0.5996 MB / 2.927 GB, free: 258.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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.001508/5.961, allocations: 0.6443 MB / 2.928 GB, free: 258.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001942/5.963, allocations: 1.228 MB / 2.929 GB, free: 258.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/5.963, allocations: 5.219 kB / 2.929 GB, free: 258.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/5.963, allocations: 470 kB / 2.929 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/5.964, allocations: 192.9 kB / 2.929 GB, free: 258.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003285/5.967, allocations: 1.513 MB / 2.931 GB, free: 257.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/5.969, allocations: 1.244 MB / 2.932 GB, free: 257.1 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/5.969, allocations: 3.281 kB / 2.932 GB, free: 257.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.04238/6.011, allocations: 20.5 MB / 2.952 GB, free: 256.1 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)