Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.365/2.365, allocations: 390.5 MB / 398 MB, free: 11.01 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.001331/0.001331, allocations: 178.8 kB / 491.2 MB, free: 1.621 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.703/1.703, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009535/0.0009536, allocations: 99.83 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.714e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3162, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.408, allocations: 211.9 MB / 1.419 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/1.408, allocations: 117.3 kB / 1.419 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3769/1.785, allocations: 158.2 MB / 1.574 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.635e-06/1.785, allocations: 0 / 1.574 GB, free: 4.52 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001579/1.785, allocations: 79.98 kB / 1.574 GB, free: 4.441 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01164/1.797, allocations: 3.052 MB / 1.577 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.797, allocations: 8.031 kB / 1.577 GB, free: 1.324 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/1.812, allocations: 2.141 MB / 1.579 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007244/1.819, allocations: 2.26 MB / 1.581 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002603/1.82, allocations: 120 kB / 1.581 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/1.822, allocations: 216 kB / 1.582 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01444/1.836, allocations: 4.986 MB / 1.586 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/1.857, allocations: 5.654 MB / 1.592 GB, free: 1.773 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001742/1.857, allocations: 3.938 kB / 1.592 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/1.859, allocations: 4 kB / 1.592 GB, free: 1.766 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006803/1.86, allocations: 302.4 kB / 1.592 GB, free: 1.469 MB / 0.9948 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.04809/1.908, allocations: 27.55 MB / 1.619 GB, free: 3.523 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/1.914, allocations: 3.668 MB / 1.623 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002995/1.917, allocations: 1.803 MB / 1.624 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/1.918, allocations: 135 kB / 1.625 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.91e-05/1.918, allocations: 64.48 kB / 1.625 GB, free: 13.62 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 3.377e-06/1.918, allocations: 0 / 1.625 GB, free: 13.62 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.03848/1.956, allocations: 14.15 MB / 1.638 GB, free: 15.46 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/1.957, allocations: 239.6 kB / 1.639 GB, free: 15.18 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/1.96, allocations: 1.189 MB / 1.64 GB, free: 13.98 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0007793/1.961, allocations: 29.69 kB / 1.64 GB, free: 13.94 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.962, allocations: 1.563 MB / 1.641 GB, free: 12.36 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/1.964, allocations: 0.8313 MB / 1.642 GB, free: 11.51 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/1.965, allocations: 0 / 1.642 GB, free: 11.51 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003244/1.965, allocations: 436.4 kB / 1.643 GB, free: 11.08 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/1.968, allocations: 1.978 MB / 1.645 GB, free: 9.098 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003814/1.972, allocations: 2.863 MB / 1.647 GB, free: 5.84 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/1.978, allocations: 2.836 MB / 1.65 GB, free: 2.98 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/1.978, allocations: 8 kB / 1.65 GB, free: 2.973 MB / 1.057 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01703/1.995, allocations: 7.663 MB / 1.658 GB, free: 11.25 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004547/1.999, allocations: 10.8 MB / 1.668 GB, free: 15.59 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.644e-05/1.999, allocations: 28 kB / 1.668 GB, free: 15.56 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/2.013, allocations: 3.64 MB / 1.672 GB, free: 11.91 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004476/2.017, allocations: 0.8774 MB / 1.673 GB, free: 11.03 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02373/2.041, allocations: 13.33 MB / 1.686 GB, free: 13.54 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/2.046, allocations: 474.8 kB / 1.686 GB, free: 13.08 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009034/2.047, allocations: 184.4 kB / 1.686 GB, free: 12.9 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/2.047, allocations: 7.938 kB / 1.686 GB, free: 12.89 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01053/2.057, allocations: 4.944 MB / 1.691 GB, free: 7.902 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-05/2.057, allocations: 31.94 kB / 1.691 GB, free: 7.871 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.214e-05/2.057, allocations: 51.98 kB / 1.691 GB, free: 7.82 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/2.063, allocations: 1.21 MB / 1.692 GB, free: 6.609 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-05/2.063, allocations: 63.78 kB / 1.692 GB, free: 6.547 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/2.067, allocations: 423 kB / 1.693 GB, free: 6.133 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006377/2.068, allocations: 187.9 kB / 1.693 GB, free: 5.949 MB / 1.104 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 () * 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.001114/2.069, allocations: 184.1 kB / 1.693 GB, free: 5.762 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008829/2.07, allocations: 189.7 kB / 1.693 GB, free: 5.574 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01679/2.086, allocations: 7.6 MB / 1.701 GB, free: 13.93 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/2.087, allocations: 27.95 kB / 1.701 GB, free: 13.9 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-05/2.087, allocations: 16 kB / 1.701 GB, free: 13.88 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.719e-05/2.087, allocations: 11.95 kB / 1.701 GB, free: 13.87 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02658/2.113, allocations: 12.12 MB / 1.713 GB, free: 1.59 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-05/2.113, allocations: 12.92 kB / 1.713 GB, free: 1.578 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/2.117, allocations: 0.6162 MB / 1.713 GB, free: 0.9609 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01392/2.13, allocations: 4.108 MB / 1.717 GB, free: 12.84 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007774/2.131, allocations: 51.92 kB / 1.717 GB, free: 12.79 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/2.154, allocations: 13 MB / 1.73 GB, free: 15.64 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/2.154, allocations: 15.89 kB / 1.73 GB, free: 15.62 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/2.171, allocations: 7.554 MB / 1.737 GB, free: 7.805 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/2.172, allocations: 0.7288 MB / 1.738 GB, free: 7.055 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00071/2.173, allocations: 16.2 kB / 1.738 GB, free: 7.039 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004029/2.177, allocations: 0.499 MB / 1.739 GB, free: 6.539 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/2.178, allocations: 202 kB / 1.739 GB, free: 6.344 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/2.178, allocations: 123.9 kB / 1.739 GB, free: 6.223 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00156/2.18, allocations: 0.9137 MB / 1.74 GB, free: 5.305 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.01e-07/2.18, allocations: 0 / 1.74 GB, free: 5.305 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006167/2.186, allocations: 1.41 MB / 1.741 GB, free: 3.895 MB / 1.151 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 (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.0004896/2.186, allocations: 170.8 kB / 1.741 GB, free: 3.719 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.622/2.808, allocations: 7.983 MB / 1.749 GB, free: 323.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/2.808, allocations: 4.125 kB / 1.749 GB, free: 323.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007477/2.816, allocations: 3.088 MB / 1.752 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/2.818, allocations: 156.2 kB / 1.752 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/2.852, allocations: 8.943 MB / 1.761 GB, free: 322 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005279/2.857, allocations: 2.863 MB / 1.764 GB, free: 321.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009672/2.867, allocations: 1.813 MB / 1.766 GB, free: 321.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/2.868, allocations: 154.5 kB / 1.766 GB, free: 321.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.424e-06/2.868, allocations: 0 / 1.766 GB, free: 321.2 MB / 1.151 GB Notification: Performance of Templates: time 0.0971/2.965, allocations: 51.41 MB / 1.816 GB, free: 319.4 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches