Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.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.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001124/0.001124, allocations: 179.9 kB / 0.4902 GB, free: 2.281 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.721/1.721, allocations: 223.2 MB / 0.7992 GB, free: 15.67 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.001069/0.001069, allocations: 110.8 kB / 0.9396 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005053, allocations: 10.03 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3766, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.507, allocations: 212.1 MB / 1.436 GB, free: 58.29 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/1.508, allocations: 117.4 kB / 1.436 GB, free: 58.29 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.3697/1.877, allocations: 158.8 MB / 1.591 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.577e-06/1.878, allocations: 0 / 1.591 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001997/1.878, allocations: 75.75 kB / 1.592 GB, free: 2.086 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01298/1.891, allocations: 3.187 MB / 1.595 GB, free: 15.06 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/1.891, allocations: 11.97 kB / 1.595 GB, free: 15.05 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/1.905, allocations: 2.145 MB / 1.597 GB, free: 12.91 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009104/1.914, allocations: 2.244 MB / 1.599 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004788/1.915, allocations: 280.8 kB / 1.599 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002684/1.918, allocations: 358.5 kB / 1.6 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02604/1.944, allocations: 6.688 MB / 1.606 GB, free: 4.316 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002366/1.944, allocations: 3.938 kB / 1.606 GB, free: 4.312 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002345/1.946, allocations: 155.4 kB / 1.606 GB, free: 4.172 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007828/1.947, allocations: 306.2 kB / 1.607 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/1.969, allocations: 6.518 MB / 1.613 GB, free: 13.35 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05373/2.023, allocations: 28.24 MB / 1.64 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009261/2.032, allocations: 4.242 MB / 1.645 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/2.032, allocations: 130 kB / 1.645 GB, free: 10.25 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/2.032, allocations: 64.52 kB / 1.645 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=198): time 5.53e-06/2.032, allocations: 3.938 kB / 1.645 GB, free: 10.17 MB / 0.9792 GB Notification: Performance of matching and sorting (n=255): time 0.1075/2.14, allocations: 28.4 MB / 1.673 GB, free: 13.76 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/2.14, allocations: 251.5 kB / 1.673 GB, free: 13.47 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/2.143, allocations: 1.296 MB / 1.674 GB, free: 12.16 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000678/2.143, allocations: 65.7 kB / 1.674 GB, free: 12.09 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/2.145, allocations: 1.55 MB / 1.676 GB, free: 10.53 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/2.146, allocations: 0.8637 MB / 1.676 GB, free: 9.676 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/2.146, allocations: 60 kB / 1.677 GB, free: 9.617 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002621/2.146, allocations: 440.4 kB / 1.677 GB, free: 9.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005436/2.152, allocations: 2.531 MB / 1.679 GB, free: 6.645 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006191/2.158, allocations: 3.427 MB / 1.683 GB, free: 2.824 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006286/2.164, allocations: 2.973 MB / 1.686 GB, free: 15.83 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-05/2.164, allocations: 8 kB / 1.686 GB, free: 15.82 MB / 1.026 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02161/2.186, allocations: 8.828 MB / 1.694 GB, free: 6.93 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.005116/2.191, allocations: 10.8 MB / 1.705 GB, free: 11.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-05/2.191, allocations: 32.05 kB / 1.705 GB, free: 11.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02722/2.218, allocations: 6.663 MB / 1.711 GB, free: 4.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/2.223, allocations: 0.8774 MB / 1.712 GB, free: 3.691 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/2.247, allocations: 14.04 MB / 1.726 GB, free: 5.492 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007561/2.255, allocations: 0.5146 MB / 1.726 GB, free: 4.977 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/2.256, allocations: 195.9 kB / 1.727 GB, free: 4.785 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/2.256, allocations: 1.562 kB / 1.727 GB, free: 4.785 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03537/2.292, allocations: 8.118 MB / 1.735 GB, free: 12.62 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001299/2.292, allocations: 28 kB / 1.735 GB, free: 12.59 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/2.304, allocations: 3.205 MB / 1.738 GB, free: 9.383 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005723/2.31, allocations: 1.045 MB / 1.739 GB, free: 8.336 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01907/2.329, allocations: 11.53 MB / 1.75 GB, free: 12.66 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/2.334, allocations: 0.5029 MB / 1.751 GB, free: 12.16 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008688/2.335, allocations: 187.9 kB / 1.751 GB, free: 11.98 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 300 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.004212/2.339, allocations: 1.612 MB / 1.752 GB, free: 10.35 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007629/2.34, allocations: 194.1 kB / 1.752 GB, free: 10.16 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/2.361, allocations: 8.571 MB / 1.761 GB, free: 1.547 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/2.361, allocations: 24 kB / 1.761 GB, free: 1.523 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/2.361, allocations: 16 kB / 1.761 GB, free: 1.508 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-05/2.361, allocations: 15.89 kB / 1.761 GB, free: 1.492 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03245/2.394, allocations: 13.66 MB / 1.774 GB, free: 3.707 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/2.394, allocations: 8 kB / 1.774 GB, free: 3.699 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003213/2.397, allocations: 0.6202 MB / 1.775 GB, free: 3.078 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02753/2.425, allocations: 6.476 MB / 1.781 GB, free: 12.58 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008905/2.426, allocations: 91.91 kB / 1.781 GB, free: 12.49 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02301/2.449, allocations: 13.64 MB / 1.795 GB, free: 14.73 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/2.449, allocations: 15.92 kB / 1.795 GB, free: 14.71 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/2.47, allocations: 8.509 MB / 1.803 GB, free: 5.945 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002737/2.473, allocations: 0.7405 MB / 1.804 GB, free: 5.184 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/2.473, allocations: 47.94 kB / 1.804 GB, free: 5.137 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003491/2.477, allocations: 483.1 kB / 1.804 GB, free: 4.664 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/2.478, allocations: 202 kB / 1.804 GB, free: 4.469 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003017/2.478, allocations: 131.9 kB / 1.804 GB, free: 4.34 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001813/2.48, allocations: 1.016 MB / 1.805 GB, free: 3.32 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.41e-07/2.48, allocations: 0 / 1.805 GB, free: 3.32 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.007409/2.487, allocations: 1.648 MB / 1.807 GB, free: 1.672 MB / 1.135 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 156 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006188/2.488, allocations: 194.9 kB / 1.807 GB, free: 1.473 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02697/2.515, allocations: 10.68 MB / 1.818 GB, free: 6.762 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.515, allocations: 4.812 kB / 1.818 GB, free: 6.758 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.009056/2.524, allocations: 3.668 MB / 1.821 GB, free: 3.07 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/2.526, allocations: 205.7 kB / 1.821 GB, free: 2.871 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/2.555, allocations: 12.02 MB / 1.833 GB, free: 6.73 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/2.558, allocations: 2.86 MB / 1.836 GB, free: 3.836 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00521/2.563, allocations: 1.656 MB / 1.838 GB, free: 2.176 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/2.564, allocations: 171.3 kB / 1.838 GB, free: 2.008 MB / 1.167 GB Notification: Performance of SimCode: time 1.212e-06/2.564, allocations: 0 / 1.838 GB, free: 2.008 MB / 1.167 GB Notification: Performance of Templates: time 0.6354/3.199, allocations: 57.04 MB / 1.893 GB, free: 327.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches