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.9269/0.9269, allocations: 132.4 MB / 139.9 MB, free: 2.809 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.001389/0.001389, allocations: 183.9 kB / 171.8 MB, free: 4.914 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.318/1.318, allocations: 170.6 MB / 374.2 MB, free: 168 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001841/0.001841, allocations: 111.4 kB / 444.8 MB, free: 14.15 MB / 314.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.1554/0.1554, allocations: 73.41 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.387/5.543, allocations: 2.161 GB / 2.827 GB, free: 53.11 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/5.543, allocations: 103.9 kB / 2.827 GB, free: 53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.6113/6.155, allocations: 81.8 MB / 2.907 GB, free: 207.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.875e-06/6.155, allocations: 0 / 2.907 GB, free: 207.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000203/6.155, allocations: 32.31 kB / 2.907 GB, free: 207.7 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.004575/6.159, allocations: 1.442 MB / 2.909 GB, free: 206.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/6.16, allocations: 8.656 kB / 2.909 GB, free: 206.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/6.163, allocations: 411.2 kB / 2.909 GB, free: 206.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/6.165, allocations: 0.7389 MB / 2.91 GB, free: 206.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/6.165, allocations: 37.62 kB / 2.91 GB, free: 206.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003991/6.166, allocations: 60.97 kB / 2.91 GB, free: 206.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003267/6.169, allocations: 1.323 MB / 2.911 GB, free: 205.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/6.171, allocations: 1.115 MB / 2.912 GB, free: 205.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/6.171, allocations: 5.031 kB / 2.912 GB, free: 205.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/6.172, allocations: 5.953 kB / 2.912 GB, free: 205.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/6.172, allocations: 53.97 kB / 2.912 GB, free: 205.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006661/6.178, allocations: 3.99 MB / 2.916 GB, free: 203 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/6.18, allocations: 0.972 MB / 2.917 GB, free: 202.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/6.18, allocations: 423.7 kB / 2.918 GB, free: 202.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006731/6.181, allocations: 0.5436 MB / 2.918 GB, free: 201.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007476/6.182, allocations: 0.5661 MB / 2.919 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.237e-06/6.182, allocations: 0 / 2.919 GB, free: 201.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.005627/6.187, allocations: 1.757 MB / 2.92 GB, free: 200.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/6.188, allocations: 221.8 kB / 2.921 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009201/6.188, allocations: 0.6922 MB / 2.921 GB, free: 200.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/6.189, allocations: 29.7 kB / 2.921 GB, free: 200.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/6.189, allocations: 0.4894 MB / 2.922 GB, free: 199.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/6.189, allocations: 300.8 kB / 2.922 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/6.189, allocations: 4.094 kB / 2.922 GB, free: 199.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001479/6.189, allocations: 403.8 kB / 2.922 GB, free: 199.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004523/6.19, allocations: 348.5 kB / 2.923 GB, free: 199.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005687/6.19, allocations: 0.5166 MB / 2.923 GB, free: 198.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/6.194, allocations: 0.8281 MB / 2.924 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/6.194, allocations: 0 / 2.924 GB, free: 198.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004934/6.199, allocations: 1.568 MB / 2.926 GB, free: 198.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003476/6.199, allocations: 1.223 MB / 2.927 GB, free: 196.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/6.199, allocations: 3.219 kB / 2.927 GB, free: 196.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/6.2, allocations: 122 kB / 2.927 GB, free: 196.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009354/6.201, allocations: 224 kB / 2.927 GB, free: 196.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005086/6.201, allocations: 0.6462 MB / 2.928 GB, free: 196.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/6.202, allocations: 95.72 kB / 2.928 GB, free: 196.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/6.202, allocations: 37.17 kB / 2.928 GB, free: 196.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/6.202, allocations: 3.781 kB / 2.928 GB, free: 196.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004367/6.207, allocations: 1.323 MB / 2.929 GB, free: 195.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/6.207, allocations: 7.844 kB / 2.929 GB, free: 195.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/6.207, allocations: 11.58 kB / 2.929 GB, free: 195.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/6.208, allocations: 223.8 kB / 2.929 GB, free: 195.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/6.208, allocations: 7.906 kB / 2.929 GB, free: 195.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/6.209, allocations: 85.31 kB / 2.93 GB, free: 195.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/6.209, allocations: 38.44 kB / 2.93 GB, free: 195.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.0002559/6.209, allocations: 132 kB / 2.93 GB, free: 195.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/6.209, allocations: 97.19 kB / 2.93 GB, free: 195.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/6.215, allocations: 1.731 MB / 2.931 GB, free: 195.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/6.215, allocations: 9.719 kB / 2.931 GB, free: 195.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/6.215, allocations: 0 / 2.931 GB, free: 195.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/6.215, allocations: 10.2 kB / 2.931 GB, free: 195.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006633/6.221, allocations: 2.858 MB / 2.934 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/6.221, allocations: 7.094 kB / 2.934 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/6.222, allocations: 201.2 kB / 2.934 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007557/6.223, allocations: 205.9 kB / 2.935 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/6.223, allocations: 22.31 kB / 2.935 GB, free: 193.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/6.225, allocations: 1.753 MB / 2.936 GB, free: 192.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/6.225, allocations: 3.938 kB / 2.936 GB, free: 192.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005148/6.23, allocations: 1.823 MB / 2.938 GB, free: 191.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/6.231, allocations: 350.2 kB / 2.939 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/6.231, allocations: 7.969 kB / 2.939 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007932/6.232, allocations: 90.05 kB / 2.939 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/6.232, allocations: 63.38 kB / 2.939 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/6.232, allocations: 39.27 kB / 2.939 GB, free: 191.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006947/6.232, allocations: 0.5481 MB / 2.939 GB, free: 191.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/6.232, allocations: 4 kB / 2.939 GB, free: 191.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001728/6.234, allocations: 492.2 kB / 2.94 GB, free: 191.1 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.001258/6.235, allocations: 0.574 MB / 2.94 GB, free: 190.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002338/6.238, allocations: 1.743 MB / 2.942 GB, free: 189.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/6.238, allocations: 7.531 kB / 2.942 GB, free: 189.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/6.239, allocations: 0.6139 MB / 2.943 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/6.24, allocations: 207.5 kB / 2.943 GB, free: 189.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/6.243, allocations: 1.674 MB / 2.944 GB, free: 188.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/6.243, allocations: 1.181 MB / 2.946 GB, free: 187.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001887/6.245, allocations: 0.5874 MB / 2.946 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/6.245, allocations: 89.58 kB / 2.946 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/6.245, allocations: 0 / 2.946 GB, free: 187.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.02537/6.271, allocations: 16.32 MB / 2.962 GB, free: 172.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)