Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.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.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 249.5 MB / 257 MB, free: 6.953 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.001208/0.001208, allocations: 180.8 kB / 316.3 MB, free: 3.316 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.627/1.627, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.000802/0.000802, allocations: 92.72 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.711e-05/1.713e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1869, allocations: 106.3 MB / 0.8853 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7253/0.9123, allocations: 193.9 MB / 1.075 GB, free: 10.44 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.9126, allocations: 118.8 kB / 1.075 GB, free: 10.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3492/1.262, allocations: 146.3 MB / 1.218 GB, free: 0.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.224e-06/1.262, allocations: 0 / 1.218 GB, free: 0.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001689/1.262, allocations: 83.98 kB / 1.218 GB, free: 428 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01125/1.273, allocations: 3.146 MB / 1.221 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.273, allocations: 12.56 kB / 1.221 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/1.289, allocations: 2.16 MB / 1.223 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0078/1.297, allocations: 2.322 MB / 1.225 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/1.298, allocations: 128 kB / 1.225 GB, free: 8.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002088/1.3, allocations: 228 kB / 1.225 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01404/1.314, allocations: 5.092 MB / 1.23 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/1.327, allocations: 5.905 MB / 1.236 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/1.327, allocations: 7.938 kB / 1.236 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009183/1.328, allocations: 4 kB / 1.236 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000567/1.329, allocations: 314.7 kB / 1.237 GB, free: 12.88 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5246/1.853, allocations: 27.86 MB / 1.264 GB, free: 210.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005997/1.859, allocations: 3.142 MB / 1.267 GB, free: 210.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/1.862, allocations: 1.552 MB / 1.268 GB, free: 210 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/1.862, allocations: 130.2 kB / 1.268 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/1.862, allocations: 59.98 kB / 1.268 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 4.779e-06/1.862, allocations: 4.562 kB / 1.269 GB, free: 209.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.03182/1.894, allocations: 13.23 MB / 1.281 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/1.894, allocations: 230.3 kB / 1.282 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/1.896, allocations: 1.335 MB / 1.283 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/1.897, allocations: 25.7 kB / 1.283 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008918/1.898, allocations: 1.745 MB / 1.285 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007281/1.898, allocations: 0.7284 MB / 1.285 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/1.899, allocations: 3.719 kB / 1.285 GB, free: 205.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.899, allocations: 440.8 kB / 1.286 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/1.901, allocations: 1.862 MB / 1.288 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002959/1.904, allocations: 2.958 MB / 1.291 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004551/1.909, allocations: 2.713 MB / 1.293 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/1.909, allocations: 9.969 kB / 1.293 GB, free: 203.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01426/1.923, allocations: 7.324 MB / 1.3 GB, free: 203.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003922/1.927, allocations: 14.1 MB / 1.314 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.29e-05/1.927, allocations: 38.88 kB / 1.314 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/1.938, allocations: 3.423 MB / 1.317 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/1.942, allocations: 0.9236 MB / 1.318 GB, free: 188.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/1.959, allocations: 11.4 MB / 1.33 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004616/1.963, allocations: 0.4923 MB / 1.33 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/1.964, allocations: 202.8 kB / 1.33 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.964, allocations: 3.906 kB / 1.33 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007666/1.972, allocations: 4.758 MB / 1.335 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.098e-05/1.972, allocations: 38.62 kB / 1.335 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.033e-05/1.972, allocations: 61.8 kB / 1.335 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005224/1.977, allocations: 1.212 MB / 1.336 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.598e-05/1.977, allocations: 76.67 kB / 1.336 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.981, allocations: 433.8 kB / 1.337 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/1.981, allocations: 204.2 kB / 1.337 GB, free: 186 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0007687/1.982, allocations: 201.8 kB / 1.337 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005661/1.982, allocations: 195.7 kB / 1.337 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.995, allocations: 6.457 MB / 1.343 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/1.995, allocations: 22.81 kB / 1.343 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.995, allocations: 7.594 kB / 1.344 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/1.995, allocations: 15.17 kB / 1.344 GB, free: 184 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/2.015, allocations: 11.19 MB / 1.354 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/2.015, allocations: 7.531 kB / 1.354 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/2.018, allocations: 0.6111 MB / 1.355 GB, free: 180 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01185/2.03, allocations: 3.879 MB / 1.359 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004267/2.03, allocations: 50.5 kB / 1.359 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/2.046, allocations: 11.13 MB / 1.37 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/2.046, allocations: 10.84 kB / 1.37 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0122/2.058, allocations: 7.036 MB / 1.377 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/2.06, allocations: 0.68 MB / 1.377 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003802/2.06, allocations: 20.88 kB / 1.377 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003285/2.064, allocations: 0.4922 MB / 1.378 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004322/2.064, allocations: 176.2 kB / 1.378 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/2.064, allocations: 121.3 kB / 1.378 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001302/2.066, allocations: 0.9743 MB / 1.379 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/2.066, allocations: 3 kB / 1.379 GB, free: 170.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005103/2.071, allocations: 1.415 MB / 1.38 GB, free: 170.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 152 * 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 {(6,100.0%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004132/2.071, allocations: 162.3 kB / 1.381 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01139/2.082, allocations: 7.531 MB / 1.388 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/2.083, allocations: 3.438 kB / 1.388 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005056/2.088, allocations: 2.805 MB / 1.391 GB, free: 166.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/2.089, allocations: 170.3 kB / 1.391 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/2.107, allocations: 7.604 MB / 1.398 GB, free: 159.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/2.109, allocations: 2.944 MB / 1.401 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005426/2.115, allocations: 1.828 MB / 1.403 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/2.115, allocations: 158.8 kB / 1.403 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.563e-06/2.115, allocations: 4 kB / 1.403 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.06083/2.176, allocations: 47.26 MB / 1.449 GB, free: 115.4 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches