Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.422/1.422, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 171.6 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009249, allocations: 90.47 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.991e-05/1.995e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.1997, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.672/4.871, allocations: 2.225 GB / 3.11 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/4.872, allocations: 106 kB / 3.11 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1362/5.008, allocations: 61.83 MB / 3.171 GB, free: 84.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.563e-06/5.008, allocations: 0 / 3.171 GB, free: 84.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001/5.008, allocations: 35.92 kB / 3.171 GB, free: 84.79 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002082/5.01, allocations: 1.373 MB / 3.172 GB, free: 83.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/5.01, allocations: 8.031 kB / 3.172 GB, free: 83.36 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/5.011, allocations: 301.9 kB / 3.172 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/5.013, allocations: 0.8339 MB / 3.173 GB, free: 82.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/5.013, allocations: 32 kB / 3.173 GB, free: 82.15 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/5.013, allocations: 63.94 kB / 3.173 GB, free: 82.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/5.014, allocations: 1.284 MB / 3.175 GB, free: 80.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/5.016, allocations: 1.111 MB / 3.176 GB, free: 79.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/5.016, allocations: 3.938 kB / 3.176 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/5.016, allocations: 7.953 kB / 3.176 GB, free: 79.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/5.016, allocations: 53.97 kB / 3.176 GB, free: 79.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/5.021, allocations: 4.516 MB / 3.18 GB, free: 74.78 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/5.022, allocations: 0.9227 MB / 3.181 GB, free: 73.84 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/5.022, allocations: 383.9 kB / 3.181 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001803/5.022, allocations: 113.9 kB / 3.181 GB, free: 73.33 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006218/5.023, allocations: 0.5363 MB / 3.182 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 2.845e-06/5.023, allocations: 0 / 3.182 GB, free: 72.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002187/5.025, allocations: 1.356 MB / 3.183 GB, free: 71.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/5.025, allocations: 303.6 kB / 3.184 GB, free: 71.04 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/5.026, allocations: 0.778 MB / 3.184 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/5.026, allocations: 25.7 kB / 3.184 GB, free: 70.22 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/5.027, allocations: 0.5466 MB / 3.185 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/5.027, allocations: 307.4 kB / 3.185 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/5.027, allocations: 0 / 3.185 GB, free: 69.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/5.027, allocations: 341.9 kB / 3.186 GB, free: 69.02 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/5.027, allocations: 314.5 kB / 3.186 GB, free: 68.71 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/5.028, allocations: 0.4986 MB / 3.186 GB, free: 68.15 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/5.028, allocations: 420.3 kB / 3.187 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/5.028, allocations: 0 / 3.187 GB, free: 67.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001661/5.03, allocations: 1.05 MB / 3.188 GB, free: 66.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/5.03, allocations: 1.145 MB / 3.189 GB, free: 65.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/5.03, allocations: 0 / 3.189 GB, free: 65.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/5.031, allocations: 132.7 kB / 3.189 GB, free: 65.31 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007563/5.032, allocations: 203.7 kB / 3.189 GB, free: 65.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004587/5.032, allocations: 0.6421 MB / 3.19 GB, free: 64.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/5.033, allocations: 83.53 kB / 3.19 GB, free: 64.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/5.033, allocations: 43.95 kB / 3.19 GB, free: 64.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/5.033, allocations: 4 kB / 3.19 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001124/5.034, allocations: 0.7835 MB / 3.191 GB, free: 63.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/5.034, allocations: 7.953 kB / 3.191 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.046e-06/5.034, allocations: 8 kB / 3.191 GB, free: 63.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/5.035, allocations: 207.7 kB / 3.191 GB, free: 63.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/5.035, allocations: 8 kB / 3.191 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/5.036, allocations: 83.64 kB / 3.191 GB, free: 63.22 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/5.036, allocations: 39.92 kB / 3.191 GB, free: 63.18 MB / 0.8698 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 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.000192/5.036, allocations: 126 kB / 3.191 GB, free: 63.05 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/5.036, allocations: 114.7 kB / 3.191 GB, free: 62.94 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/5.038, allocations: 1.301 MB / 3.193 GB, free: 61.62 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/5.038, allocations: 12 kB / 3.193 GB, free: 61.61 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.904e-06/5.038, allocations: 4 kB / 3.193 GB, free: 61.61 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/5.038, allocations: 7.984 kB / 3.193 GB, free: 61.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003377/5.042, allocations: 2.501 MB / 3.195 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/5.042, allocations: 7.953 kB / 3.195 GB, free: 59.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/5.043, allocations: 187.7 kB / 3.195 GB, free: 58.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/5.043, allocations: 212.8 kB / 3.195 GB, free: 58.63 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/5.043, allocations: 19.98 kB / 3.195 GB, free: 58.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/5.045, allocations: 1.756 MB / 3.197 GB, free: 56.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/5.045, allocations: 0 / 3.197 GB, free: 56.75 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/5.047, allocations: 1.423 MB / 3.199 GB, free: 55.24 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/5.047, allocations: 347.4 kB / 3.199 GB, free: 54.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/5.047, allocations: 4 kB / 3.199 GB, free: 54.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/5.048, allocations: 75.91 kB / 3.199 GB, free: 54.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/5.048, allocations: 85.19 kB / 3.199 GB, free: 54.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/5.048, allocations: 39.92 kB / 3.199 GB, free: 54.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007485/5.049, allocations: 0.6163 MB / 3.2 GB, free: 54.06 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.049, allocations: 0 / 3.2 GB, free: 54.06 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001661/5.051, allocations: 447.8 kB / 3.2 GB, free: 53.62 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.001114/5.052, allocations: 0.52 MB / 3.201 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001888/5.054, allocations: 1.316 MB / 3.202 GB, free: 51.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/5.054, allocations: 0 / 3.202 GB, free: 51.86 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007258/5.055, allocations: 0.6015 MB / 3.202 GB, free: 51.25 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/5.056, allocations: 275.7 kB / 3.203 GB, free: 50.99 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/5.059, allocations: 1.744 MB / 3.204 GB, free: 49.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005922/5.059, allocations: 1.209 MB / 3.206 GB, free: 47.96 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00162/5.061, allocations: 0.5972 MB / 3.206 GB, free: 47.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/5.061, allocations: 99.39 kB / 3.206 GB, free: 47.26 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/5.061, allocations: 0 / 3.206 GB, free: 47.26 MB / 0.8698 GB Notification: Performance of Templates: time 0.02442/5.086, allocations: 17.04 MB / 3.223 GB, free: 30.3 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches