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.7916/0.7916, allocations: 132.4 MB / 139.9 MB, free: 15.39 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.001107/0.001107, allocations: 170.1 kB / 171.8 MB, free: 2.055 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.502/1.502, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.00169/0.00169, allocations: 111.2 kB / 444.8 MB, free: 9.219 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.447/0.447, allocations: 73.4 MB / 0.6666 GB, free: 46.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.939/6.386, allocations: 2.165 GB / 2.831 GB, free: 175.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/6.386, allocations: 105.2 kB / 2.831 GB, free: 175.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1827/6.569, allocations: 86.28 MB / 2.916 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.047e-06/6.569, allocations: 0 / 2.916 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002329/6.569, allocations: 35.94 kB / 2.916 GB, free: 125.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.005085/6.575, allocations: 1.444 MB / 2.917 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.473e-05/6.575, allocations: 12.03 kB / 2.917 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003238/6.578, allocations: 401.8 kB / 2.917 GB, free: 123.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/6.58, allocations: 0.7441 MB / 2.918 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/6.58, allocations: 36 kB / 2.918 GB, free: 123 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/6.58, allocations: 63.98 kB / 2.918 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002661/6.583, allocations: 1.32 MB / 2.92 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/6.586, allocations: 1.111 MB / 2.921 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.872e-05/6.586, allocations: 4 kB / 2.921 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/6.586, allocations: 4 kB / 2.921 GB, free: 120.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-05/6.586, allocations: 61.92 kB / 2.921 GB, free: 120.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006463/6.592, allocations: 3.979 MB / 2.925 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/6.594, allocations: 0.9817 MB / 2.926 GB, free: 115.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/6.594, allocations: 416.3 kB / 2.926 GB, free: 114.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007571/6.595, allocations: 0.5502 MB / 2.927 GB, free: 114.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007576/6.596, allocations: 0.5566 MB / 2.927 GB, free: 113.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=94): time 3.817e-06/6.596, allocations: 0 / 2.927 GB, free: 113.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.006011/6.602, allocations: 1.762 MB / 2.929 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/6.602, allocations: 218.4 kB / 2.929 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/6.603, allocations: 0.6954 MB / 2.93 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/6.603, allocations: 25.7 kB / 2.93 GB, free: 110.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000408/6.604, allocations: 0.496 MB / 2.93 GB, free: 110.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/6.604, allocations: 299.4 kB / 2.93 GB, free: 110 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/6.604, allocations: 3.938 kB / 2.93 GB, free: 110 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001333/6.604, allocations: 394.7 kB / 2.931 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004499/6.605, allocations: 354.5 kB / 2.931 GB, free: 109.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/6.605, allocations: 0.5117 MB / 2.932 GB, free: 108.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/6.609, allocations: 0.8297 MB / 2.932 GB, free: 107.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/6.609, allocations: 0 / 2.932 GB, free: 107.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005219/6.614, allocations: 1.57 MB / 2.934 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002705/6.614, allocations: 1.22 MB / 2.935 GB, free: 105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/6.614, allocations: 0 / 2.935 GB, free: 105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/6.615, allocations: 132.7 kB / 2.935 GB, free: 104.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/6.616, allocations: 219.7 kB / 2.936 GB, free: 104.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000479/6.617, allocations: 0.6421 MB / 2.936 GB, free: 104 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/6.618, allocations: 87.36 kB / 2.936 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/6.618, allocations: 43.97 kB / 2.936 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/6.618, allocations: 8.062 kB / 2.936 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004316/6.622, allocations: 1.323 MB / 2.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/6.622, allocations: 11.89 kB / 2.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/6.622, allocations: 4 kB / 2.938 GB, free: 102.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/6.623, allocations: 228 kB / 2.938 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/6.623, allocations: 11.2 kB / 2.938 GB, free: 102.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/6.624, allocations: 91.3 kB / 2.938 GB, free: 102.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/6.624, allocations: 35.98 kB / 2.938 GB, free: 102.1 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.0002934/6.624, allocations: 133.5 kB / 2.938 GB, free: 102 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/6.625, allocations: 94.88 kB / 2.938 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005952/6.631, allocations: 1.725 MB / 2.94 GB, free: 100.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/6.631, allocations: 15.98 kB / 2.94 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/6.631, allocations: 4 kB / 2.94 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/6.631, allocations: 3.984 kB / 2.94 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007339/6.638, allocations: 2.861 MB / 2.943 GB, free: 97.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/6.638, allocations: 4 kB / 2.943 GB, free: 97.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008879/6.639, allocations: 203.7 kB / 2.943 GB, free: 97.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/6.64, allocations: 212.8 kB / 2.943 GB, free: 96.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/6.64, allocations: 19.98 kB / 2.943 GB, free: 96.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/6.642, allocations: 1.756 MB / 2.945 GB, free: 94.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/6.642, allocations: 0 / 2.945 GB, free: 94.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/6.647, allocations: 1.819 MB / 2.947 GB, free: 93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/6.648, allocations: 347.4 kB / 2.947 GB, free: 92.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/6.648, allocations: 11.89 kB / 2.947 GB, free: 92.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/6.649, allocations: 79.89 kB / 2.947 GB, free: 92.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/6.649, allocations: 80.62 kB / 2.947 GB, free: 92.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/6.649, allocations: 31.98 kB / 2.947 GB, free: 92.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008002/6.65, allocations: 0.5538 MB / 2.948 GB, free: 91.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/6.65, allocations: 0 / 2.948 GB, free: 91.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002142/6.652, allocations: 491.8 kB / 2.948 GB, free: 91.41 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.001435/6.654, allocations: 0.5704 MB / 2.949 GB, free: 90.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00241/6.656, allocations: 1.754 MB / 2.95 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/6.656, allocations: 0 / 2.95 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008807/6.657, allocations: 0.6111 MB / 2.951 GB, free: 88.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/6.658, allocations: 222.9 kB / 2.951 GB, free: 88.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/6.662, allocations: 1.677 MB / 2.953 GB, free: 86.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/6.663, allocations: 1.179 MB / 2.954 GB, free: 85.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002127/6.665, allocations: 0.5764 MB / 2.955 GB, free: 84.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/6.665, allocations: 91.39 kB / 2.955 GB, free: 84.67 MB / 0.6198 GB Notification: Performance of SimCode: time 9.62e-07/6.665, allocations: 4 kB / 2.955 GB, free: 84.67 MB / 0.6198 GB Notification: Performance of Templates: time 0.02669/6.692, allocations: 16.32 MB / 2.971 GB, free: 68.39 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)