Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.001056/0.001056, allocations: 178.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008646/0.0008648, allocations: 94.39 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.993e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/5.435, allocations: 2.25 GB / 3.142 GB, free: 80.17 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/5.435, allocations: 106.9 kB / 3.142 GB, free: 80.12 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3-maint.7.0.x/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.8629/6.298, allocations: 147.2 MB / 3.286 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.894e-06/6.298, allocations: 4 kB / 3.286 GB, free: 254.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000229/6.298, allocations: 82.88 kB / 3.286 GB, free: 254.9 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: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.006674/6.305, allocations: 2.985 MB / 3.289 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/6.305, allocations: 10.72 kB / 3.289 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004861/6.31, allocations: 0.8399 MB / 3.289 GB, free: 253 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/6.315, allocations: 2.125 MB / 3.291 GB, free: 251.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/6.315, allocations: 230.2 kB / 3.292 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000482/6.316, allocations: 304.1 kB / 3.292 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007663/6.323, allocations: 4.275 MB / 3.296 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/6.323, allocations: 7.875 kB / 3.296 GB, free: 249.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003335/6.324, allocations: 126.8 kB / 3.296 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/6.324, allocations: 169.4 kB / 3.296 GB, free: 249.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005938/6.33, allocations: 3.882 MB / 3.3 GB, free: 248.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02423/6.354, allocations: 18.58 MB / 3.318 GB, free: 235 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/6.357, allocations: 1.766 MB / 3.32 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/6.358, allocations: 0.9227 MB / 3.321 GB, free: 234 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/6.358, allocations: 134 kB / 3.321 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/6.36, allocations: 1.067 MB / 3.322 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=147): time 3.106e-06/6.36, allocations: 0 / 3.322 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=182): time 0.02649/6.386, allocations: 12 MB / 3.334 GB, free: 227.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003235/6.387, allocations: 0.5851 MB / 3.334 GB, free: 226.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/6.391, allocations: 1.84 MB / 3.336 GB, free: 226.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006103/6.391, allocations: 60.61 kB / 3.336 GB, free: 226 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002056/6.393, allocations: 1.471 MB / 3.338 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/6.394, allocations: 0.6104 MB / 3.338 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/6.395, allocations: 43.94 kB / 3.338 GB, free: 224.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000185/6.395, allocations: 391.4 kB / 3.339 GB, free: 223.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/6.396, allocations: 1.063 MB / 3.34 GB, free: 222.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/6.398, allocations: 1.659 MB / 3.341 GB, free: 221.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/6.4, allocations: 1.36 MB / 3.343 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/6.4, allocations: 4 kB / 3.343 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008218/6.408, allocations: 4.189 MB / 3.347 GB, free: 215.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001284/6.409, allocations: 5.878 MB / 3.353 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/6.409, allocations: 16 kB / 3.353 GB, free: 209.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/6.414, allocations: 1.439 MB / 3.354 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/6.416, allocations: 475.2 kB / 3.354 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006866/6.423, allocations: 5.856 MB / 3.36 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/6.425, allocations: 207.5 kB / 3.36 GB, free: 201.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/6.425, allocations: 91.97 kB / 3.36 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/6.425, allocations: 7.938 kB / 3.36 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006141/6.432, allocations: 3.467 MB / 3.364 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/6.432, allocations: 12 kB / 3.364 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002815/6.434, allocations: 0.8911 MB / 3.365 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/6.436, allocations: 0.4955 MB / 3.365 GB, free: 196.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/6.442, allocations: 4.863 MB / 3.37 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/6.445, allocations: 167.8 kB / 3.37 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/6.445, allocations: 103.9 kB / 3.37 GB, free: 190.9 MB / 0.8698 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.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 (234): * Single equations (assignments): 232 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007874/6.446, allocations: 243.1 kB / 3.37 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/6.447, allocations: 221.3 kB / 3.371 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008238/6.455, allocations: 3.744 MB / 3.374 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/6.455, allocations: 20 kB / 3.374 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/6.455, allocations: 7.984 kB / 3.374 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/6.455, allocations: 15.95 kB / 3.374 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/6.468, allocations: 9.287 MB / 3.383 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/6.468, allocations: 4 kB / 3.383 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/6.47, allocations: 328.3 kB / 3.384 GB, free: 177 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/6.474, allocations: 1.401 MB / 3.385 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002993/6.475, allocations: 43.98 kB / 3.385 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00996/6.485, allocations: 8.215 MB / 3.393 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/6.485, allocations: 11.94 kB / 3.393 GB, free: 167 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/6.492, allocations: 4.379 MB / 3.397 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/6.494, allocations: 0.6386 MB / 3.398 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/6.494, allocations: 44 kB / 3.398 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/6.496, allocations: 183.8 kB / 3.398 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/6.496, allocations: 149.7 kB / 3.398 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/6.496, allocations: 63.98 kB / 3.399 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001844/6.498, allocations: 1.428 MB / 3.4 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.9e-07/6.498, allocations: 0 / 3.4 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003716/6.502, allocations: 1.269 MB / 3.401 GB, free: 158.5 MB / 0.8698 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.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 (166): * Single equations (assignments): 162 * 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,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/6.504, allocations: 0.6924 MB / 3.402 GB, free: 158 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007552/6.511, allocations: 4.817 MB / 3.407 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/6.511, allocations: 0 / 3.407 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00289/6.514, allocations: 1.848 MB / 3.408 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/6.517, allocations: 0.5528 MB / 3.409 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/6.526, allocations: 5.221 MB / 3.414 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/6.528, allocations: 2.462 MB / 3.416 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003622/6.531, allocations: 1.316 MB / 3.418 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/6.532, allocations: 151.4 kB / 3.418 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of SimCode: time 7.01e-07/6.532, allocations: 0 / 3.418 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.06177/6.593, allocations: 45.75 MB / 3.463 GB, free: 95.82 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches