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.793/0.793, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001211/0.001211, allocations: 168.1 kB / 180.8 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.643/1.643, allocations: 170.7 MB / 383.7 MB, free: 16.14 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.001629, allocations: 111.3 kB / 454.6 MB, free: 9.703 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.2092/0.2099, allocations: 73.41 MB / 0.6812 GB, free: 5.535 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.586/5.796, allocations: 2.161 GB / 2.843 GB, free: 42.11 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/5.796, allocations: 107.9 kB / 2.843 GB, free: 42 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.5339/6.33, allocations: 82.22 MB / 2.923 GB, free: 175.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/6.33, allocations: 0 / 2.923 GB, free: 175.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.638e-05/6.33, allocations: 33.59 kB / 2.923 GB, free: 175.2 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.002825/6.333, allocations: 1.579 MB / 2.925 GB, free: 174.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/6.333, allocations: 9.094 kB / 2.925 GB, free: 174.1 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/6.336, allocations: 412.3 kB / 2.925 GB, free: 174 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/6.337, allocations: 0.7394 MB / 2.926 GB, free: 173.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/6.337, allocations: 81.11 kB / 2.926 GB, free: 173.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/6.337, allocations: 103.1 kB / 2.926 GB, free: 173.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/6.34, allocations: 1.32 MB / 2.927 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/6.34, allocations: 7 kB / 2.927 GB, free: 172.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/6.34, allocations: 52.5 kB / 2.927 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-05/6.34, allocations: 55.08 kB / 2.927 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002451/6.342, allocations: 1.545 MB / 2.929 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/6.348, allocations: 4.182 MB / 2.933 GB, free: 169.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/6.351, allocations: 1.141 MB / 2.934 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/6.351, allocations: 0.554 MB / 2.934 GB, free: 168.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/6.352, allocations: 0.6443 MB / 2.935 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.727e-06/6.352, allocations: 0 / 2.935 GB, free: 168.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.004927/6.357, allocations: 2.153 MB / 2.937 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/6.358, allocations: 216.2 kB / 2.937 GB, free: 167.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/6.359, allocations: 0.7821 MB / 2.938 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-05/6.359, allocations: 48.3 kB / 2.938 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/6.359, allocations: 0.4911 MB / 2.939 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/6.359, allocations: 318.9 kB / 2.939 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/6.36, allocations: 18.5 kB / 2.939 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/6.36, allocations: 342.9 kB / 2.939 GB, free: 166.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/6.36, allocations: 416.5 kB / 2.94 GB, free: 166 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008751/6.361, allocations: 0.5888 MB / 2.94 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/6.362, allocations: 0.555 MB / 2.941 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/6.362, allocations: 4 kB / 2.941 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002843/6.365, allocations: 1.431 MB / 2.942 GB, free: 164.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002666/6.365, allocations: 1.226 MB / 2.943 GB, free: 163.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/6.365, allocations: 3 kB / 2.943 GB, free: 163.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008798/6.366, allocations: 213.4 kB / 2.944 GB, free: 163.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/6.367, allocations: 226 kB / 2.944 GB, free: 163.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004895/6.368, allocations: 0.642 MB / 2.944 GB, free: 162.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/6.369, allocations: 110.2 kB / 2.945 GB, free: 162.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/6.369, allocations: 44.7 kB / 2.945 GB, free: 162.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/6.369, allocations: 4.219 kB / 2.945 GB, free: 162.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001961/6.371, allocations: 1.161 MB / 2.946 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/6.371, allocations: 2.938 kB / 2.946 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/6.371, allocations: 10.7 kB / 2.946 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009567/6.372, allocations: 233.6 kB / 2.946 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/6.372, allocations: 13.72 kB / 2.946 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/6.373, allocations: 109.3 kB / 2.946 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/6.373, allocations: 36.22 kB / 2.946 GB, free: 162.3 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 () * Number of clocked 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.0007937/6.374, allocations: 413 kB / 2.947 GB, free: 162 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/6.374, allocations: 104.6 kB / 2.947 GB, free: 161.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/6.377, allocations: 1.476 MB / 2.948 GB, free: 161.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/6.377, allocations: 13.66 kB / 2.948 GB, free: 161.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/6.377, allocations: 0 / 2.948 GB, free: 161.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/6.377, allocations: 6.953 kB / 2.948 GB, free: 161.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/6.382, allocations: 2.761 MB / 2.951 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/6.382, allocations: 2.562 kB / 2.951 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009695/6.383, allocations: 207.2 kB / 2.951 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008438/6.384, allocations: 215.2 kB / 2.951 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.228e-05/6.384, allocations: 30.59 kB / 2.951 GB, free: 160.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/6.386, allocations: 1.885 MB / 2.953 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/6.386, allocations: 2.469 kB / 2.953 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/6.389, allocations: 1.558 MB / 2.955 GB, free: 157.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007789/6.39, allocations: 361.5 kB / 2.955 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/6.39, allocations: 22.56 kB / 2.955 GB, free: 157.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008713/6.391, allocations: 98.23 kB / 2.955 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/6.391, allocations: 69.11 kB / 2.955 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.943e-05/6.391, allocations: 37.7 kB / 2.955 GB, free: 157.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000956/6.392, allocations: 0.6251 MB / 2.956 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/6.392, allocations: 0 / 2.956 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001905/6.394, allocations: 0.5486 MB / 2.956 GB, free: 157 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) * Number of clocked states: 0 () * 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.001418/6.395, allocations: 0.6575 MB / 2.957 GB, free: 156.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00456/6.4, allocations: 1.939 MB / 2.959 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/6.4, allocations: 2.438 kB / 2.959 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002151/6.402, allocations: 0.6965 MB / 2.96 GB, free: 155.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/6.404, allocations: 229.8 kB / 2.96 GB, free: 155.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/6.411, allocations: 2.777 MB / 2.962 GB, free: 153.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/6.412, allocations: 1.176 MB / 2.964 GB, free: 153.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003023/6.415, allocations: 468.5 kB / 2.964 GB, free: 153.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005145/6.416, allocations: 111.9 kB / 2.964 GB, free: 153 MB / 0.6198 GB Notification: Performance of SimCode: time 8.51e-07/6.416, allocations: 0 / 2.964 GB, free: 153 MB / 0.6198 GB Notification: Performance of Templates: time 0.03829/6.454, allocations: 16.02 MB / 2.98 GB, free: 150.3 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)