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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.6713/0.6713, allocations: 132.3 MB / 144.9 MB, free: 10.54 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.0009696/0.0009697, allocations: 178.9 kB / 176.9 MB, free: 2.281 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.224/1.224, allocations: 170.5 MB / 379.3 MB, free: 11.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.001565/0.001565, allocations: 116.1 kB / 450 MB, free: 5.762 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.4673/0.4674, allocations: 73.39 MB / 0.6736 GB, free: 47.31 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.594/5.062, allocations: 2.165 GB / 2.839 GB, free: 210.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/5.062, allocations: 105.1 kB / 2.839 GB, free: 210.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1662/5.228, allocations: 86.26 MB / 2.923 GB, free: 153 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/5.228, allocations: 0 / 2.923 GB, free: 153 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.984e-05/5.228, allocations: 28 kB / 2.923 GB, free: 153 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.002224/5.23, allocations: 1.448 MB / 2.925 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/5.23, allocations: 8.031 kB / 2.925 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/5.233, allocations: 413.8 kB / 2.925 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/5.234, allocations: 0.7402 MB / 2.926 GB, free: 150.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/5.234, allocations: 82.08 kB / 2.926 GB, free: 150.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/5.234, allocations: 100 kB / 2.926 GB, free: 150.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/5.236, allocations: 1.263 MB / 2.927 GB, free: 148.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/5.236, allocations: 3.906 kB / 2.927 GB, free: 148.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/5.236, allocations: 47.98 kB / 2.927 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/5.236, allocations: 53.98 kB / 2.927 GB, free: 148.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/5.238, allocations: 1.444 MB / 2.929 GB, free: 147.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005076/5.243, allocations: 4.189 MB / 2.933 GB, free: 142.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/5.244, allocations: 1.027 MB / 2.934 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/5.245, allocations: 444.3 kB / 2.934 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/5.245, allocations: 0.5424 MB / 2.935 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007575/5.246, allocations: 0.5964 MB / 2.935 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.386e-06/5.246, allocations: 0 / 2.935 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.002474/5.249, allocations: 1.451 MB / 2.937 GB, free: 138.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/5.249, allocations: 218.4 kB / 2.937 GB, free: 138.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/5.249, allocations: 0.7738 MB / 2.938 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/5.25, allocations: 49.7 kB / 2.938 GB, free: 137.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/5.25, allocations: 0.4883 MB / 2.938 GB, free: 137.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/5.25, allocations: 319.4 kB / 2.939 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/5.25, allocations: 19.94 kB / 2.939 GB, free: 136.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.102e-05/5.25, allocations: 349.9 kB / 2.939 GB, free: 136.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004709/5.251, allocations: 369.9 kB / 2.939 GB, free: 136.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/5.251, allocations: 0.5304 MB / 2.94 GB, free: 135.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/5.252, allocations: 0.5096 MB / 2.94 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.252, allocations: 0 / 2.94 GB, free: 134.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001916/5.254, allocations: 1.342 MB / 2.942 GB, free: 133.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002427/5.254, allocations: 1.23 MB / 2.943 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/5.254, allocations: 4.047 kB / 2.943 GB, free: 132.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/5.255, allocations: 212.6 kB / 2.943 GB, free: 132 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009003/5.256, allocations: 231.6 kB / 2.943 GB, free: 131.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004647/5.256, allocations: 0.6305 MB / 2.944 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/5.257, allocations: 119.3 kB / 2.944 GB, free: 131 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/5.257, allocations: 43.94 kB / 2.944 GB, free: 131 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/5.257, allocations: 4 kB / 2.944 GB, free: 131 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0013/5.258, allocations: 1.071 MB / 2.945 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/5.258, allocations: 4 kB / 2.945 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/5.258, allocations: 4 kB / 2.945 GB, free: 129.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/5.259, allocations: 231.6 kB / 2.945 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/5.259, allocations: 7.938 kB / 2.945 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/5.26, allocations: 99.47 kB / 2.945 GB, free: 129.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/5.26, allocations: 47.97 kB / 2.945 GB, free: 129.5 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.0002187/5.26, allocations: 158.9 kB / 2.946 GB, free: 129.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/5.26, allocations: 106.7 kB / 2.946 GB, free: 129.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/5.263, allocations: 1.379 MB / 2.947 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/5.263, allocations: 16 kB / 2.947 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/5.263, allocations: 0 / 2.947 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/5.263, allocations: 7.984 kB / 2.947 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/5.266, allocations: 2.662 MB / 2.95 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/5.266, allocations: 4 kB / 2.95 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/5.267, allocations: 215.8 kB / 2.95 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/5.268, allocations: 208.6 kB / 2.95 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/5.268, allocations: 27.98 kB / 2.95 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/5.27, allocations: 1.823 MB / 2.952 GB, free: 122.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/5.27, allocations: 0 / 2.952 GB, free: 122.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/5.272, allocations: 1.462 MB / 2.953 GB, free: 121.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005246/5.272, allocations: 355.4 kB / 2.954 GB, free: 120.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/5.272, allocations: 20 kB / 2.954 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000779/5.273, allocations: 107.8 kB / 2.954 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/5.273, allocations: 68.83 kB / 2.954 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/5.273, allocations: 35.98 kB / 2.954 GB, free: 120.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007352/5.274, allocations: 0.6202 MB / 2.954 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/5.274, allocations: 0 / 2.954 GB, free: 119.9 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001755/5.276, allocations: 0.5388 MB / 2.955 GB, free: 119.4 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.001314/5.277, allocations: 0.6301 MB / 2.956 GB, free: 118.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002343/5.28, allocations: 1.823 MB / 2.957 GB, free: 117 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/5.28, allocations: 0 / 2.957 GB, free: 117 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008306/5.281, allocations: 0.6437 MB / 2.958 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/5.282, allocations: 233.8 kB / 2.958 GB, free: 116.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/5.284, allocations: 1.728 MB / 2.96 GB, free: 114.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/5.285, allocations: 1.182 MB / 2.961 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001798/5.287, allocations: 0.5924 MB / 2.962 GB, free: 112.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/5.287, allocations: 87.41 kB / 2.962 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.172e-06/5.287, allocations: 4 kB / 2.962 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.02375/5.311, allocations: 17.41 MB / 2.979 GB, free: 95.09 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)