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.6874/0.6874, allocations: 132.3 MB / 144.9 MB, free: 10.75 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.001034/0.001034, allocations: 171.3 kB / 176.9 MB, free: 2.125 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.239/1.239, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001455/0.001455, allocations: 112.9 kB / 450 MB, free: 5.785 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.3923/0.3924, allocations: 73.39 MB / 0.6736 GB, free: 47.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.907/5.299, allocations: 2.19 GB / 2.864 GB, free: 144.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/5.299, allocations: 111.4 kB / 2.864 GB, free: 144.3 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.675/5.974, allocations: 169.2 MB / 3.029 GB, free: 127.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.156e-06/5.974, allocations: 0.7031 kB / 3.029 GB, free: 127.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002385/5.975, allocations: 77.25 kB / 3.029 GB, free: 127.3 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.008621/5.983, allocations: 3.082 MB / 3.032 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/5.983, allocations: 16.23 kB / 3.032 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/5.99, allocations: 0.9369 MB / 3.033 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005967/5.996, allocations: 2.015 MB / 3.035 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/5.996, allocations: 226.1 kB / 3.036 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001245/5.997, allocations: 300.7 kB / 3.036 GB, free: 125.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009636/6.007, allocations: 4.266 MB / 3.04 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.39e-05/6.007, allocations: 5.719 kB / 3.04 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/6.008, allocations: 128.4 kB / 3.04 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/6.008, allocations: 167.4 kB / 3.04 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007276/6.015, allocations: 3.911 MB / 3.044 GB, free: 124.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/6.04, allocations: 14.25 MB / 3.058 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002638/6.043, allocations: 1.82 MB / 3.06 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/6.044, allocations: 0.9537 MB / 3.061 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/6.044, allocations: 0.5603 MB / 3.061 GB, free: 120 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/6.046, allocations: 1.109 MB / 3.062 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=147): time 4.599e-06/6.046, allocations: 0 / 3.062 GB, free: 119.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=182): time 0.02766/6.073, allocations: 12.08 MB / 3.074 GB, free: 115.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000191/6.074, allocations: 0.5092 MB / 3.075 GB, free: 114.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/6.077, allocations: 1.743 MB / 3.076 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004721/6.077, allocations: 60.64 kB / 3.076 GB, free: 114.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/6.079, allocations: 1.398 MB / 3.078 GB, free: 114 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007159/6.08, allocations: 0.6196 MB / 3.078 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/6.08, allocations: 40.34 kB / 3.078 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001824/6.08, allocations: 387 kB / 3.079 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/6.082, allocations: 1.133 MB / 3.08 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/6.084, allocations: 1.695 MB / 3.082 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/6.087, allocations: 1.526 MB / 3.083 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/6.087, allocations: 5.375 kB / 3.083 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01041/6.097, allocations: 4.459 MB / 3.087 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001838/6.099, allocations: 5.916 MB / 3.093 GB, free: 103 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/6.099, allocations: 15.55 kB / 3.093 GB, free: 103 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005161/6.104, allocations: 1.44 MB / 3.095 GB, free: 102.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00229/6.106, allocations: 496.9 kB / 3.095 GB, free: 102.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007868/6.114, allocations: 5.855 MB / 3.101 GB, free: 99.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/6.118, allocations: 205.8 kB / 3.101 GB, free: 99.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006548/6.119, allocations: 103.3 kB / 3.101 GB, free: 99.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/6.119, allocations: 3.969 kB / 3.101 GB, free: 99.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009112/6.128, allocations: 3.776 MB / 3.105 GB, free: 97.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-05/6.128, allocations: 15.91 kB / 3.105 GB, free: 97.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/6.131, allocations: 0.8963 MB / 3.106 GB, free: 97.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002302/6.133, allocations: 0.5052 MB / 3.106 GB, free: 97.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006268/6.14, allocations: 4.861 MB / 3.111 GB, free: 94.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/6.142, allocations: 175.1 kB / 3.111 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004993/6.143, allocations: 103.8 kB / 3.111 GB, free: 94.91 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.0009689/6.144, allocations: 239.2 kB / 3.111 GB, free: 94.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/6.145, allocations: 217.7 kB / 3.112 GB, free: 94.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/6.153, allocations: 3.826 MB / 3.115 GB, free: 93.33 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.274e-05/6.154, allocations: 22.09 kB / 3.115 GB, free: 93.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/6.154, allocations: 11.11 kB / 3.115 GB, free: 93.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-05/6.154, allocations: 11 kB / 3.115 GB, free: 93.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01957/6.173, allocations: 9.33 MB / 3.124 GB, free: 89.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.56e-05/6.173, allocations: 10 kB / 3.124 GB, free: 89.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/6.175, allocations: 340.7 kB / 3.125 GB, free: 89.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/6.18, allocations: 1.403 MB / 3.126 GB, free: 89.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005168/6.181, allocations: 54.33 kB / 3.126 GB, free: 89.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/6.191, allocations: 8.237 MB / 3.134 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/6.191, allocations: 9.75 kB / 3.134 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008813/6.2, allocations: 4.417 MB / 3.139 GB, free: 82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/6.202, allocations: 0.6387 MB / 3.139 GB, free: 81.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009739/6.203, allocations: 48.97 kB / 3.139 GB, free: 81.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002165/6.205, allocations: 184.1 kB / 3.139 GB, free: 81.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/6.206, allocations: 150 kB / 3.14 GB, free: 81.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/6.206, allocations: 65.67 kB / 3.14 GB, free: 81.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002538/6.209, allocations: 1.34 MB / 3.141 GB, free: 81.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/6.209, allocations: 0 / 3.141 GB, free: 81.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006185/6.215, allocations: 1.311 MB / 3.142 GB, free: 80.84 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.002294/6.217, allocations: 0.8398 MB / 3.143 GB, free: 80.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.009522/6.227, allocations: 5.389 MB / 3.148 GB, free: 78.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/6.227, allocations: 9.25 kB / 3.148 GB, free: 78.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003287/6.23, allocations: 1.795 MB / 3.15 GB, free: 77.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/6.234, allocations: 492.6 kB / 3.151 GB, free: 77.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/6.245, allocations: 5.164 MB / 3.156 GB, free: 75.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/6.248, allocations: 2.433 MB / 3.158 GB, free: 74.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.004563/6.252, allocations: 1.323 MB / 3.159 GB, free: 73.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/6.253, allocations: 149.2 kB / 3.159 GB, free: 73.96 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/6.253, allocations: 0 / 3.159 GB, free: 73.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.06413/6.317, allocations: 45.51 MB / 3.204 GB, free: 45.61 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)