Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.0009377/0.0009378, allocations: 187.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.000839/0.0008392, allocations: 91.89 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.393e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3486, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/1.398, allocations: 212.5 MB / 1.426 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004562/1.399, allocations: 120.5 kB / 1.426 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4399/1.839, allocations: 165.6 MB / 1.588 GB, free: 6.809 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.387e-06/1.839, allocations: 0 / 1.588 GB, free: 6.809 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003403/1.839, allocations: 83.98 kB / 1.588 GB, free: 6.727 MB / 1.042 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.01644/1.856, allocations: 3.158 MB / 1.591 GB, free: 3.508 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.935e-05/1.856, allocations: 8.031 kB / 1.591 GB, free: 3.5 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01988/1.876, allocations: 2.168 MB / 1.593 GB, free: 1.324 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/1.886, allocations: 2.322 MB / 1.596 GB, free: 14.96 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007609/1.887, allocations: 303.9 kB / 1.596 GB, free: 14.66 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003611/1.891, allocations: 395.9 kB / 1.596 GB, free: 14.27 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02831/1.919, allocations: 6.464 MB / 1.603 GB, free: 7.695 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002553/1.92, allocations: 8 kB / 1.603 GB, free: 7.688 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002789/1.922, allocations: 164 kB / 1.603 GB, free: 7.527 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/1.923, allocations: 314.7 kB / 1.603 GB, free: 7.219 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01601/1.939, allocations: 5.643 MB / 1.609 GB, free: 1.57 MB / 1.057 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.05621/1.996, allocations: 28.68 MB / 1.637 GB, free: 2.5 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006318/2.002, allocations: 3.234 MB / 1.64 GB, free: 15.09 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002998/2.005, allocations: 1.607 MB / 1.641 GB, free: 13.47 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/2.005, allocations: 130.3 kB / 1.641 GB, free: 13.32 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/2.006, allocations: 59.83 kB / 1.642 GB, free: 13.26 MB / 1.104 GB Notification: Performance of pre-optimization done (n=176): time 4.589e-06/2.006, allocations: 0 / 1.642 GB, free: 13.26 MB / 1.104 GB Notification: Performance of matching and sorting (n=221): time 0.0762/2.082, allocations: 20.45 MB / 1.662 GB, free: 8.734 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/2.082, allocations: 235.6 kB / 1.662 GB, free: 8.457 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/2.084, allocations: 1.463 MB / 1.663 GB, free: 6.984 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0005025/2.085, allocations: 61.7 kB / 1.663 GB, free: 6.918 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/2.086, allocations: 1.748 MB / 1.665 GB, free: 5.148 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/2.087, allocations: 0.7625 MB / 1.666 GB, free: 4.375 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000308/2.088, allocations: 60 kB / 1.666 GB, free: 4.316 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003468/2.088, allocations: 440.5 kB / 1.666 GB, free: 3.879 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/2.091, allocations: 1.919 MB / 1.668 GB, free: 1.957 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/2.096, allocations: 3.034 MB / 1.671 GB, free: 14.41 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/2.1, allocations: 2.414 MB / 1.673 GB, free: 12 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/2.1, allocations: 15.94 kB / 1.673 GB, free: 11.98 MB / 1.135 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01564/2.115, allocations: 7.452 MB / 1.681 GB, free: 4.512 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.006485/2.122, allocations: 14.1 MB / 1.694 GB, free: 5.309 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/2.122, allocations: 36 kB / 1.694 GB, free: 5.273 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7386/2.861, allocations: 5.904 MB / 1.7 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00466/2.865, allocations: 0.9319 MB / 1.701 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02338/2.889, allocations: 11.45 MB / 1.712 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/2.894, allocations: 0.5505 MB / 1.713 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007866/2.895, allocations: 200.6 kB / 1.713 GB, free: 310.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/2.895, allocations: 4.594 kB / 1.713 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0157/2.91, allocations: 6.811 MB / 1.72 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001889/2.911, allocations: 35.72 kB / 1.72 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009319/2.92, allocations: 2.611 MB / 1.722 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005269/2.925, allocations: 1.072 MB / 1.723 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/2.942, allocations: 9.331 MB / 1.732 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006069/2.948, allocations: 0.5125 MB / 1.733 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/2.95, allocations: 201.4 kB / 1.733 GB, free: 309.5 MB / 1.151 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.001839/2.952, allocations: 298.9 kB / 1.733 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001157/2.953, allocations: 195.2 kB / 1.734 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/2.968, allocations: 6.374 MB / 1.74 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/2.968, allocations: 22.47 kB / 1.74 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/2.968, allocations: 11.75 kB / 1.74 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-05/2.968, allocations: 16.02 kB / 1.74 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0236/2.992, allocations: 11.74 MB / 1.751 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-05/2.992, allocations: 8.031 kB / 1.751 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/2.995, allocations: 0.6144 MB / 1.752 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02053/3.016, allocations: 5.722 MB / 1.758 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006713/3.016, allocations: 81.73 kB / 1.758 GB, free: 307.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/3.032, allocations: 11.11 MB / 1.768 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/3.032, allocations: 16.94 kB / 1.768 GB, free: 305.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/3.046, allocations: 6.934 MB / 1.775 GB, free: 302.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/3.048, allocations: 0.6862 MB / 1.776 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004393/3.048, allocations: 51.67 kB / 1.776 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003131/3.052, allocations: 474.7 kB / 1.776 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005095/3.052, allocations: 182.3 kB / 1.777 GB, free: 302 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000237/3.052, allocations: 118.2 kB / 1.777 GB, free: 301.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001624/3.054, allocations: 1.093 MB / 1.778 GB, free: 301.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/3.054, allocations: 0 / 1.778 GB, free: 301.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006578/3.061, allocations: 1.66 MB / 1.779 GB, free: 301.4 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 (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.0004482/3.061, allocations: 192.2 kB / 1.78 GB, free: 301.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01554/3.077, allocations: 8.703 MB / 1.788 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/3.077, allocations: 0 / 1.788 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.005735/3.082, allocations: 2.88 MB / 1.791 GB, free: 297.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/3.084, allocations: 226.3 kB / 1.791 GB, free: 297.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/3.103, allocations: 7.733 MB / 1.799 GB, free: 295.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/3.106, allocations: 2.959 MB / 1.802 GB, free: 294.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005468/3.112, allocations: 1.81 MB / 1.803 GB, free: 294.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/3.112, allocations: 160.8 kB / 1.803 GB, free: 294.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.223e-06/3.112, allocations: 3.281 kB / 1.803 GB, free: 294.1 MB / 1.151 GB Notification: Performance of Templates: time 0.08594/3.198, allocations: 54.33 MB / 1.857 GB, free: 280.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches