Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.324/2.324, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 176 kB / 0.4902 GB, free: 2.238 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 223.1 MB / 0.7992 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000988/0.000988, allocations: 102.8 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.000427, allocations: 9.281 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3427, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.991/5.334, allocations: 1.79 GB / 3.02 GB, free: 138.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/5.334, allocations: 118.6 kB / 3.02 GB, free: 138.3 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:30:3-37: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 10.0.0-master/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:30:3-37: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 1.029/6.363, allocations: 171.2 MB / 3.187 GB, free: 340.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.514e-06/6.363, allocations: 1.094 kB / 3.187 GB, free: 340.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003043/6.363, allocations: 86.33 kB / 3.187 GB, free: 340.5 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 823 * Number of variables: 823 Notification: Performance of Generate backend data structure: time 0.01043/6.374, allocations: 3.484 MB / 3.19 GB, free: 338.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/6.374, allocations: 9.969 kB / 3.19 GB, free: 338.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/6.379, allocations: 0.8283 MB / 3.191 GB, free: 338.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/6.385, allocations: 2.289 MB / 3.193 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/6.385, allocations: 234.3 kB / 3.194 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000916/6.386, allocations: 306.5 kB / 3.194 GB, free: 338.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009982/6.396, allocations: 4.436 MB / 3.198 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-05/6.396, allocations: 13.25 kB / 3.198 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004023/6.397, allocations: 131.2 kB / 3.198 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002546/6.397, allocations: 173.5 kB / 3.199 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008004/6.405, allocations: 4.03 MB / 3.203 GB, free: 337.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/6.433, allocations: 19.91 MB / 3.222 GB, free: 327.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003033/6.437, allocations: 1.885 MB / 3.224 GB, free: 327.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002591/6.437, allocations: 131.9 kB / 3.224 GB, free: 327.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/6.439, allocations: 1.104 MB / 3.225 GB, free: 326.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=150): time 6.853e-06/6.439, allocations: 0 / 3.225 GB, free: 326.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=187): time 0.03673/6.475, allocations: 13.44 MB / 3.238 GB, free: 322.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/6.476, allocations: 0.5026 MB / 3.239 GB, free: 322.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003292/6.479, allocations: 2.077 MB / 3.241 GB, free: 322.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004792/6.479, allocations: 66.91 kB / 3.241 GB, free: 322 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/6.481, allocations: 1.518 MB / 3.242 GB, free: 321.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/6.481, allocations: 0.6232 MB / 3.243 GB, free: 321 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/6.481, allocations: 38.5 kB / 3.243 GB, free: 321 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001265/6.482, allocations: 386.8 kB / 3.243 GB, free: 320.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/6.483, allocations: 1.128 MB / 3.244 GB, free: 320.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/6.485, allocations: 1.656 MB / 3.246 GB, free: 320.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/6.487, allocations: 1.386 MB / 3.247 GB, free: 320.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/6.487, allocations: 3.688 kB / 3.247 GB, free: 320.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.01062/6.497, allocations: 4.726 MB / 3.252 GB, free: 319.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009859/6.498, allocations: 4.666 MB / 3.256 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/6.499, allocations: 13.72 kB / 3.256 GB, free: 314.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008013/6.507, allocations: 2.053 MB / 3.258 GB, free: 314.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/6.509, allocations: 472 kB / 3.259 GB, free: 314.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/6.519, allocations: 9.858 MB / 3.269 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/6.522, allocations: 205.3 kB / 3.269 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/6.522, allocations: 92.27 kB / 3.269 GB, free: 309.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/6.522, allocations: 3.719 kB / 3.269 GB, free: 309.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008327/6.531, allocations: 3.865 MB / 3.273 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/6.531, allocations: 11.41 kB / 3.273 GB, free: 309.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005355/6.536, allocations: 1.385 MB / 3.274 GB, free: 309.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/6.538, allocations: 491.4 kB / 3.274 GB, free: 309.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008451/6.546, allocations: 7.837 MB / 3.282 GB, free: 303.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/6.549, allocations: 164.2 kB / 3.282 GB, free: 303.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/6.549, allocations: 85.19 kB / 3.282 GB, free: 303.5 MB / 1.167 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = true ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00264/6.552, allocations: 1.27 MB / 3.284 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000571/6.552, allocations: 235.8 kB / 3.284 GB, free: 302.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/6.563, allocations: 4.512 MB / 3.288 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/6.563, allocations: 21.75 kB / 3.288 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/6.563, allocations: 3.875 kB / 3.288 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.423e-05/6.563, allocations: 15.08 kB / 3.288 GB, free: 301.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/6.581, allocations: 9.609 MB / 3.298 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/6.581, allocations: 10.52 kB / 3.298 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/6.582, allocations: 362.3 kB / 3.298 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007864/6.59, allocations: 2.01 MB / 3.3 GB, free: 297 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005771/6.591, allocations: 43.58 kB / 3.3 GB, free: 296.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/6.613, allocations: 13.65 MB / 3.313 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/6.613, allocations: 6.906 kB / 3.313 GB, free: 286.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/6.633, allocations: 4.853 MB / 3.318 GB, free: 284.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003508/6.637, allocations: 0.6963 MB / 3.319 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/6.638, allocations: 46.5 kB / 3.319 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004272/6.643, allocations: 194 kB / 3.319 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008984/6.644, allocations: 146.6 kB / 3.319 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005367/6.644, allocations: 67.08 kB / 3.319 GB, free: 284 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006137/6.65, allocations: 1.613 MB / 3.321 GB, free: 283.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.054e-06/6.65, allocations: 4 kB / 3.321 GB, free: 283.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01152/6.662, allocations: 1.327 MB / 3.322 GB, free: 283.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 176 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004163/6.666, allocations: 0.8715 MB / 3.323 GB, free: 283 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01802/6.684, allocations: 5.414 MB / 3.328 GB, free: 280.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/6.684, allocations: 5.406 kB / 3.328 GB, free: 280.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0071/6.691, allocations: 2.339 MB / 3.33 GB, free: 279.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/6.697, allocations: 0.5857 MB / 3.331 GB, free: 278.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/6.719, allocations: 7.912 MB / 3.339 GB, free: 271.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004542/6.723, allocations: 2.535 MB / 3.341 GB, free: 269.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006311/6.729, allocations: 1.008 MB / 3.342 GB, free: 269 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/6.731, allocations: 204.5 kB / 3.342 GB, free: 268.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.323e-06/6.731, allocations: 0 / 3.342 GB, free: 268.8 MB / 1.167 GB Notification: Performance of Templates: time 0.07643/6.807, allocations: 47.51 MB / 3.389 GB, free: 230.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches