Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.292/2.292, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.0012/0.0012, allocations: 173.2 kB / 498.1 MB, free: 5.746 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.519/1.519, allocations: 223.2 MB / 0.7949 GB, free: 17.91 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.0008604/0.0008609, allocations: 100 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005164/0.0005165, allocations: 10.62 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4076, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.554, allocations: 211.7 MB / 1.43 GB, free: 95.84 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000425/1.555, allocations: 119.6 kB / 1.43 GB, free: 95.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3793/1.934, allocations: 166.2 MB / 1.592 GB, free: 37.33 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.645e-06/1.934, allocations: 0 / 1.592 GB, free: 37.33 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001518/1.934, allocations: 76 kB / 1.592 GB, free: 37.25 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01264/1.947, allocations: 3.329 MB / 1.595 GB, free: 33.86 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.947, allocations: 12.03 kB / 1.595 GB, free: 33.85 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/1.962, allocations: 2.164 MB / 1.598 GB, free: 31.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.972, allocations: 2.334 MB / 1.6 GB, free: 29.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004175/1.972, allocations: 303.9 kB / 1.6 GB, free: 29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003501/1.976, allocations: 388 kB / 1.6 GB, free: 28.62 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/2.004, allocations: 7 MB / 1.607 GB, free: 21.51 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002965/2.004, allocations: 7.938 kB / 1.607 GB, free: 21.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002994/2.007, allocations: 164 kB / 1.607 GB, free: 21.34 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007422/2.008, allocations: 318.7 kB / 1.608 GB, free: 21.03 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/2.029, allocations: 6.656 MB / 1.614 GB, free: 14.36 MB / 0.9167 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.05905/2.088, allocations: 28.69 MB / 1.642 GB, free: 15.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009024/2.097, allocations: 3.711 MB / 1.646 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/2.097, allocations: 138.3 kB / 1.646 GB, free: 11.26 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.806e-05/2.097, allocations: 55.83 kB / 1.646 GB, free: 11.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=176): time 5.22e-06/2.097, allocations: 0 / 1.646 GB, free: 11.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=221): time 0.0912/2.189, allocations: 24.23 MB / 1.67 GB, free: 2.852 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/2.189, allocations: 239.5 kB / 1.67 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/2.192, allocations: 1.476 MB / 1.671 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006481/2.192, allocations: 61.7 kB / 1.671 GB, free: 1.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/2.194, allocations: 1.744 MB / 1.673 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001254/2.195, allocations: 0.7549 MB / 1.674 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/2.195, allocations: 64 kB / 1.674 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002783/2.196, allocations: 436.5 kB / 1.674 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005628/2.201, allocations: 2.414 MB / 1.677 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006608/2.208, allocations: 3.529 MB / 1.68 GB, free: 7.531 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006464/2.214, allocations: 2.894 MB / 1.683 GB, free: 4.641 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.295e-05/2.214, allocations: 12 kB / 1.683 GB, free: 4.629 MB / 0.9792 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02228/2.237, allocations: 8.564 MB / 1.691 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007613/2.244, allocations: 14.1 MB / 1.705 GB, free: 12.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/2.245, allocations: 43.94 kB / 1.705 GB, free: 12.79 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02639/2.271, allocations: 6.415 MB / 1.711 GB, free: 6.363 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004555/2.276, allocations: 0.9242 MB / 1.712 GB, free: 5.438 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/2.297, allocations: 11.95 MB / 1.724 GB, free: 9.324 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006018/2.303, allocations: 0.5493 MB / 1.725 GB, free: 8.773 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/2.305, allocations: 203.9 kB / 1.725 GB, free: 8.574 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/2.305, allocations: 4 kB / 1.725 GB, free: 8.57 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02353/2.329, allocations: 7.892 MB / 1.733 GB, free: 0.668 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001539/2.329, allocations: 36 kB / 1.733 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/2.341, allocations: 3.095 MB / 1.736 GB, free: 13.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005296/2.347, allocations: 1.076 MB / 1.737 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/2.364, allocations: 9.812 MB / 1.746 GB, free: 2.496 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/2.369, allocations: 0.5107 MB / 1.747 GB, free: 1.984 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/2.37, allocations: 203.9 kB / 1.747 GB, free: 1.785 MB / 1.042 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.005165/2.375, allocations: 1.703 MB / 1.749 GB, free: 72 kB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/2.376, allocations: 193.7 kB / 1.749 GB, free: 15.88 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/2.397, allocations: 7.444 MB / 1.756 GB, free: 8.406 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-05/2.397, allocations: 24 kB / 1.756 GB, free: 8.383 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.306e-05/2.397, allocations: 12 kB / 1.756 GB, free: 8.371 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.658e-05/2.397, allocations: 15.89 kB / 1.756 GB, free: 8.355 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03146/2.429, allocations: 12.81 MB / 1.769 GB, free: 11.37 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.213e-05/2.429, allocations: 8 kB / 1.769 GB, free: 11.36 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00321/2.432, allocations: 0.6131 MB / 1.769 GB, free: 10.75 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02768/2.46, allocations: 6.239 MB / 1.775 GB, free: 4.492 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007567/2.46, allocations: 79.92 kB / 1.775 GB, free: 4.414 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01897/2.479, allocations: 11.62 MB / 1.787 GB, free: 8.629 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/2.479, allocations: 8 kB / 1.787 GB, free: 8.621 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01894/2.498, allocations: 8.008 MB / 1.795 GB, free: 256 kB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002558/2.501, allocations: 0.6898 MB / 1.795 GB, free: 15.54 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/2.502, allocations: 51.77 kB / 1.795 GB, free: 15.49 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/2.505, allocations: 467.2 kB / 1.796 GB, free: 15.03 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005163/2.505, allocations: 181.6 kB / 1.796 GB, free: 14.85 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/2.506, allocations: 123.9 kB / 1.796 GB, free: 14.73 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.00202/2.508, allocations: 1.102 MB / 1.797 GB, free: 13.63 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.2e-07/2.508, allocations: 4 kB / 1.797 GB, free: 13.62 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.007163/2.515, allocations: 1.66 MB / 1.799 GB, free: 11.96 MB / 1.104 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.000608/2.515, allocations: 198.9 kB / 1.799 GB, free: 11.77 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.02563/2.541, allocations: 10.16 MB / 1.809 GB, free: 1.586 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/2.541, allocations: 8.062 kB / 1.809 GB, free: 1.578 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.008931/2.55, allocations: 3.375 MB / 1.812 GB, free: 14.19 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/2.552, allocations: 226.7 kB / 1.812 GB, free: 13.96 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/2.579, allocations: 10.8 MB / 1.823 GB, free: 3.039 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004035/2.583, allocations: 2.953 MB / 1.826 GB, free: 52 kB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.005874/2.589, allocations: 1.683 MB / 1.827 GB, free: 14.36 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/2.589, allocations: 167.3 kB / 1.828 GB, free: 14.2 MB / 1.135 GB Notification: Performance of SimCode: time 1.383e-06/2.589, allocations: 0 / 1.828 GB, free: 14.2 MB / 1.135 GB Notification: Performance of Templates: time 0.7405/3.33, allocations: 52.92 MB / 1.879 GB, free: 323.1 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches