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.384/1.384, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 185 kB / 326.5 MB, free: 2.254 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.852/1.852, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.000863/0.0008631, allocations: 87.97 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 10 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2641, allocations: 106.3 MB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.458/6.722, allocations: 2.25 GB / 3.15 GB, free: 229.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/6.722, allocations: 121.1 kB / 3.15 GB, free: 229.4 MB / 0.8855 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.3176/7.04, allocations: 147.9 MB / 3.295 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.324e-06/7.04, allocations: 0 / 3.295 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002677/7.04, allocations: 83.92 kB / 3.295 GB, free: 126.2 MB / 0.8855 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.007703/7.048, allocations: 3.314 MB / 3.298 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/7.048, allocations: 8.031 kB / 3.298 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004557/7.052, allocations: 0.8345 MB / 3.299 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004766/7.057, allocations: 2.134 MB / 3.301 GB, free: 119.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/7.057, allocations: 234.1 kB / 3.301 GB, free: 119.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008691/7.058, allocations: 303.8 kB / 3.301 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007959/7.066, allocations: 4.342 MB / 3.306 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-05/7.066, allocations: 11.94 kB / 3.306 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005081/7.067, allocations: 124 kB / 3.306 GB, free: 114.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/7.067, allocations: 169.9 kB / 3.306 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/7.072, allocations: 3.981 MB / 3.31 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/7.09, allocations: 18.58 MB / 3.328 GB, free: 90.44 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/7.093, allocations: 1.806 MB / 3.33 GB, free: 88.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/7.093, allocations: 122.4 kB / 3.33 GB, free: 88.49 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/7.094, allocations: 1.095 MB / 3.331 GB, free: 87.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=147): time 4.589e-06/7.094, allocations: 4.047 kB / 3.331 GB, free: 87.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=182): time 0.02472/7.119, allocations: 13.44 MB / 3.344 GB, free: 73.76 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/7.119, allocations: 0.5925 MB / 3.345 GB, free: 73.03 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/7.121, allocations: 1.858 MB / 3.346 GB, free: 71.13 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/7.122, allocations: 57.7 kB / 3.346 GB, free: 71.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001047/7.123, allocations: 1.471 MB / 3.348 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/7.123, allocations: 0.6046 MB / 3.348 GB, free: 68.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/7.123, allocations: 44 kB / 3.348 GB, free: 68.92 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/7.123, allocations: 394 kB / 3.349 GB, free: 68.53 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/7.125, allocations: 1.097 MB / 3.35 GB, free: 67.43 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/7.126, allocations: 1.694 MB / 3.352 GB, free: 65.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/7.128, allocations: 1.387 MB / 3.353 GB, free: 64.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/7.128, allocations: 4 kB / 3.353 GB, free: 64.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008046/7.136, allocations: 4.326 MB / 3.357 GB, free: 59.75 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/7.137, allocations: 5.87 MB / 3.363 GB, free: 53.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/7.137, allocations: 19.98 kB / 3.363 GB, free: 53.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005394/7.143, allocations: 1.581 MB / 3.364 GB, free: 51.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/7.144, allocations: 479.2 kB / 3.365 GB, free: 51.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007021/7.151, allocations: 6.12 MB / 3.371 GB, free: 45.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/7.154, allocations: 211.5 kB / 3.371 GB, free: 44.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/7.154, allocations: 95.98 kB / 3.371 GB, free: 44.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/7.154, allocations: 4 kB / 3.371 GB, free: 44.73 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006571/7.16, allocations: 3.604 MB / 3.375 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/7.16, allocations: 12.66 kB / 3.375 GB, free: 41.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003618/7.164, allocations: 1.033 MB / 3.376 GB, free: 40.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/7.166, allocations: 0.4914 MB / 3.376 GB, free: 39.58 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/7.172, allocations: 5.14 MB / 3.381 GB, free: 34.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/7.174, allocations: 179.7 kB / 3.381 GB, free: 34.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/7.174, allocations: 91.97 kB / 3.382 GB, free: 34.04 MB / 0.8855 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: 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 () * Number of clocked 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.002122/7.176, allocations: 1.239 MB / 3.383 GB, free: 32.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/7.177, allocations: 221.3 kB / 3.383 GB, free: 32.58 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007902/7.185, allocations: 3.873 MB / 3.387 GB, free: 28.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/7.185, allocations: 20 kB / 3.387 GB, free: 28.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/7.185, allocations: 12 kB / 3.387 GB, free: 28.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/7.185, allocations: 15.95 kB / 3.387 GB, free: 28.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/7.2, allocations: 9.397 MB / 3.396 GB, free: 19.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/7.2, allocations: 11.98 kB / 3.396 GB, free: 19.06 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/7.201, allocations: 327.5 kB / 3.396 GB, free: 18.74 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/7.207, allocations: 1.525 MB / 3.398 GB, free: 17.21 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/7.207, allocations: 47.98 kB / 3.398 GB, free: 17.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009899/7.217, allocations: 8.672 MB / 3.406 GB, free: 8.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/7.217, allocations: 4 kB / 3.406 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/7.225, allocations: 4.523 MB / 3.411 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/7.226, allocations: 0.6348 MB / 3.411 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/7.226, allocations: 43.98 kB / 3.411 GB, free: 2.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/7.228, allocations: 183.8 kB / 3.412 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/7.228, allocations: 149.6 kB / 3.412 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/7.228, allocations: 67.97 kB / 3.412 GB, free: 2.289 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001726/7.23, allocations: 1.446 MB / 3.413 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/7.23, allocations: 0 / 3.413 GB, free: 0.8203 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.3876/7.618, allocations: 1.266 MB / 3.414 GB, free: 240.7 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001875/7.62, allocations: 0.7274 MB / 3.415 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007821/7.627, allocations: 4.878 MB / 3.42 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/7.627, allocations: 3.094 kB / 3.42 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003392/7.631, allocations: 1.884 MB / 3.422 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/7.634, allocations: 0.5516 MB / 3.422 GB, free: 240 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/7.645, allocations: 7.64 MB / 3.43 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/7.648, allocations: 2.456 MB / 3.432 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003526/7.652, allocations: 1.013 MB / 3.433 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/7.652, allocations: 188.2 kB / 3.433 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/7.652, allocations: 0 / 3.433 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.06161/7.714, allocations: 43.05 MB / 3.475 GB, free: 234.3 MB / 0.8855 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