Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.001014/0.001013, allocations: 168.7 kB / 171.8 MB, free: 2.043 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.492/1.492, 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.001657/0.001657, allocations: 115.8 kB / 444.8 MB, free: 9.227 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.4885/0.4886, allocations: 73.4 MB / 0.6666 GB, free: 46.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.201/6.69, allocations: 2.19 GB / 2.856 GB, free: 204.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/6.69, allocations: 107.8 kB / 2.856 GB, free: 204.4 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.3677/7.058, allocations: 162.5 MB / 3.015 GB, free: 84.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.657e-06/7.058, allocations: 0 / 3.015 GB, free: 84.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003002/7.058, allocations: 83.92 kB / 3.015 GB, free: 84.9 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: 799 * Number of variables: 799 Notification: Performance of Generate backend data structure: time 0.01081/7.069, allocations: 3.077 MB / 3.018 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/7.069, allocations: 8.031 kB / 3.018 GB, free: 81.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006586/7.076, allocations: 0.9322 MB / 3.019 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00636/7.082, allocations: 2.025 MB / 3.021 GB, free: 78.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/7.082, allocations: 99.95 kB / 3.021 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/7.084, allocations: 176 kB / 3.021 GB, free: 78.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009852/7.094, allocations: 3.506 MB / 3.025 GB, free: 74.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0115/7.106, allocations: 3.837 MB / 3.029 GB, free: 70.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/7.106, allocations: 7.906 kB / 3.029 GB, free: 70.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001056/7.107, allocations: 4 kB / 3.029 GB, free: 70.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000208/7.107, allocations: 169.9 kB / 3.029 GB, free: 70.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02557/7.133, allocations: 13.49 MB / 3.042 GB, free: 56.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002553/7.136, allocations: 1.75 MB / 3.044 GB, free: 55.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/7.137, allocations: 0.9145 MB / 3.044 GB, free: 54.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/7.137, allocations: 0.5624 MB / 3.045 GB, free: 53.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/7.139, allocations: 1.062 MB / 3.046 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=147): time 7.143e-06/7.139, allocations: 0 / 3.046 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182): time 0.02967/7.168, allocations: 11.09 MB / 3.057 GB, free: 41.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001962/7.169, allocations: 0.5055 MB / 3.057 GB, free: 40.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/7.172, allocations: 1.579 MB / 3.059 GB, free: 39.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004596/7.172, allocations: 29.7 kB / 3.059 GB, free: 39.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001467/7.174, allocations: 1.411 MB / 3.06 GB, free: 37.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007641/7.175, allocations: 0.5889 MB / 3.061 GB, free: 37.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/7.175, allocations: 4 kB / 3.061 GB, free: 37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001716/7.175, allocations: 386.1 kB / 3.061 GB, free: 36.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/7.177, allocations: 1.09 MB / 3.062 GB, free: 35.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/7.178, allocations: 1.642 MB / 3.064 GB, free: 33.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/7.184, allocations: 1.836 MB / 3.066 GB, free: 31.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.575e-05/7.184, allocations: 8 kB / 3.066 GB, free: 31.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01256/7.197, allocations: 4.451 MB / 3.07 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001157/7.198, allocations: 5.887 MB / 3.076 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/7.198, allocations: 15.94 kB / 3.076 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/7.202, allocations: 1.104 MB / 3.077 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/7.204, allocations: 0.4914 MB / 3.077 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006589/7.211, allocations: 5.556 MB / 3.083 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/7.213, allocations: 179.5 kB / 3.083 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006211/7.214, allocations: 100.1 kB / 3.083 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/7.214, allocations: 4 kB / 3.083 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007753/7.222, allocations: 2.901 MB / 3.086 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.201e-05/7.222, allocations: 23.94 kB / 3.086 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/7.222, allocations: 28 kB / 3.086 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/7.224, allocations: 0.5388 MB / 3.087 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.782e-05/7.224, allocations: 31.92 kB / 3.087 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/7.226, allocations: 123.7 kB / 3.087 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/7.227, allocations: 95.97 kB / 3.087 GB, free: 9.762 MB / 0.6198 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.00078/7.227, allocations: 172.6 kB / 3.087 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/7.228, allocations: 205.5 kB / 3.087 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/7.239, allocations: 4.105 MB / 3.091 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/7.239, allocations: 20 kB / 3.091 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.847e-05/7.24, allocations: 12 kB / 3.091 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/7.24, allocations: 7.969 kB / 3.091 GB, free: 5.219 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4769/7.717, allocations: 9.011 MB / 3.1 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/7.717, allocations: 6.812 kB / 3.1 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/7.718, allocations: 348.9 kB / 3.1 GB, free: 134.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004666/7.723, allocations: 1.389 MB / 3.102 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004045/7.723, allocations: 28.97 kB / 3.102 GB, free: 134.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/7.734, allocations: 7.83 MB / 3.109 GB, free: 132 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-05/7.734, allocations: 8.656 kB / 3.109 GB, free: 132 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/7.747, allocations: 4.718 MB / 3.114 GB, free: 131 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/7.749, allocations: 0.6319 MB / 3.115 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/7.749, allocations: 13.31 kB / 3.115 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/7.751, allocations: 203.7 kB / 3.115 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/7.752, allocations: 147.4 kB / 3.115 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/7.752, allocations: 65.39 kB / 3.115 GB, free: 130.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00231/7.754, allocations: 1.202 MB / 3.116 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.01e-07/7.754, allocations: 0 / 3.116 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006512/7.761, allocations: 1.162 MB / 3.117 GB, free: 130.8 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (162): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,76.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002333/7.763, allocations: 0.7589 MB / 3.118 GB, free: 130.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00798/7.771, allocations: 4.716 MB / 3.123 GB, free: 130 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/7.771, allocations: 2.469 kB / 3.123 GB, free: 130 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0032/7.775, allocations: 1.731 MB / 3.124 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/7.777, allocations: 439.6 kB / 3.125 GB, free: 129.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/7.787, allocations: 5.036 MB / 3.13 GB, free: 128.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/7.789, allocations: 2.428 MB / 3.132 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004497/7.794, allocations: 1.317 MB / 3.133 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/7.794, allocations: 146.7 kB / 3.133 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.864e-06/7.794, allocations: 0 / 3.133 GB, free: 127.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.06981/7.864, allocations: 39.9 MB / 3.172 GB, free: 125.8 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1)