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.BalancedStepUp.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.BalancedStepUp.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.BalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001245/0.001245, allocations: 186.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001029/0.001029, allocations: 91.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 13.27 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2793, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8514/1.131, allocations: 192.8 MB / 1.088 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004511/1.131, allocations: 117.1 kB / 1.088 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3391/1.47, allocations: 146.8 MB / 1.232 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.576e-06/1.471, allocations: 3.938 kB / 1.232 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002981/1.471, allocations: 79.59 kB / 1.232 GB, free: 5.328 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.01435/1.485, allocations: 3.288 MB / 1.235 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.485, allocations: 8.031 kB / 1.235 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01377/1.499, allocations: 2.164 MB / 1.237 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007882/1.507, allocations: 2.317 MB / 1.239 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/1.507, allocations: 295.5 kB / 1.24 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/1.51, allocations: 379.4 kB / 1.24 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/1.529, allocations: 6.974 MB / 1.247 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-05/1.529, allocations: 3.938 kB / 1.247 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005888/1.53, allocations: 167.3 kB / 1.247 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005238/1.53, allocations: 314.6 kB / 1.247 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/1.549, allocations: 6.641 MB / 1.254 GB, free: 14.65 MB / 0.7605 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.05102/1.6, allocations: 28.62 MB / 1.282 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007392/1.608, allocations: 3.715 MB / 1.285 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/1.608, allocations: 126.1 kB / 1.286 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/1.608, allocations: 59.81 kB / 1.286 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=176): time 3.978e-06/1.608, allocations: 0 / 1.286 GB, free: 11.71 MB / 0.7917 GB Notification: Performance of matching and sorting (n=221): time 0.08148/1.69, allocations: 24.18 MB / 1.309 GB, free: 3.449 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/1.69, allocations: 239.5 kB / 1.309 GB, free: 3.168 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002705/1.693, allocations: 1.446 MB / 1.311 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006377/1.693, allocations: 61.7 kB / 1.311 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/1.695, allocations: 1.724 MB / 1.313 GB, free: 15.9 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.696, allocations: 0.7621 MB / 1.313 GB, free: 15.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/1.696, allocations: 60 kB / 1.313 GB, free: 15.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002754/1.696, allocations: 436.5 kB / 1.314 GB, free: 14.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005466/1.702, allocations: 2.418 MB / 1.316 GB, free: 12.23 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00651/1.708, allocations: 3.529 MB / 1.32 GB, free: 8.195 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006101/1.714, allocations: 2.901 MB / 1.323 GB, free: 5.301 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/1.715, allocations: 8 kB / 1.323 GB, free: 5.293 MB / 0.823 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02147/1.736, allocations: 8.541 MB / 1.331 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.006523/1.743, allocations: 14.1 MB / 1.345 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.714e-05/1.743, allocations: 36 kB / 1.345 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02654/1.769, allocations: 6.43 MB / 1.351 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004448/1.774, allocations: 0.9242 MB / 1.352 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01941/1.793, allocations: 11.94 MB / 1.364 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/1.798, allocations: 0.5532 MB / 1.364 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000737/1.799, allocations: 199.9 kB / 1.364 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/1.799, allocations: 4 kB / 1.364 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02045/1.819, allocations: 7.9 MB / 1.372 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/1.82, allocations: 36 kB / 1.372 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/1.832, allocations: 3.1 MB / 1.375 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005163/1.837, allocations: 1.065 MB / 1.376 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01552/1.853, allocations: 9.804 MB / 1.386 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.857, allocations: 0.5106 MB / 1.386 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006658/1.858, allocations: 199.9 kB / 1.386 GB, free: 2.48 MB / 0.8855 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 () * Number of clocked 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.004047/1.862, allocations: 1.702 MB / 1.388 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007613/1.863, allocations: 189.8 kB / 1.388 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5141/2.377, allocations: 7.428 MB / 1.395 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.82e-05/2.377, allocations: 25.06 kB / 1.395 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-05/2.377, allocations: 19.77 kB / 1.395 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-05/2.377, allocations: 13.23 kB / 1.395 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/2.409, allocations: 12.8 MB / 1.408 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/2.409, allocations: 12.48 kB / 1.408 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/2.412, allocations: 0.6105 MB / 1.409 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02435/2.436, allocations: 6.242 MB / 1.415 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006844/2.437, allocations: 84.67 kB / 1.415 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/2.453, allocations: 11.58 MB / 1.426 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.895e-05/2.453, allocations: 11.38 kB / 1.426 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/2.471, allocations: 7.992 MB / 1.434 GB, free: 233 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00231/2.474, allocations: 0.684 MB / 1.435 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/2.474, allocations: 43.16 kB / 1.435 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/2.477, allocations: 474.1 kB / 1.435 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004757/2.478, allocations: 189.5 kB / 1.435 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/2.478, allocations: 118.3 kB / 1.435 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001622/2.48, allocations: 1.079 MB / 1.436 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.042e-06/2.48, allocations: 0 / 1.436 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006209/2.486, allocations: 1.643 MB / 1.438 GB, free: 232.8 MB / 0.8855 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 (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.0004851/2.486, allocations: 199.5 kB / 1.438 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02151/2.508, allocations: 10.17 MB / 1.448 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.066e-05/2.508, allocations: 0 / 1.448 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00758/2.516, allocations: 3.376 MB / 1.451 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/2.517, allocations: 202.2 kB / 1.452 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/2.539, allocations: 10.74 MB / 1.462 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/2.542, allocations: 2.944 MB / 1.465 GB, free: 228 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004734/2.547, allocations: 1.682 MB / 1.467 GB, free: 228 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/2.547, allocations: 172.4 kB / 1.467 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/2.547, allocations: 0 / 1.467 GB, free: 227.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.06929/2.617, allocations: 52.38 MB / 1.518 GB, free: 209.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches