Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.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.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.285/2.285, allocations: 390.5 MB / 398 MB, free: 11 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.001074/0.001074, allocations: 176 kB / 491.2 MB, free: 1.617 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.6/1.6, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001077/0.001077, allocations: 99.61 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3098, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.384, allocations: 211.8 MB / 1.419 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.384, allocations: 108.6 kB / 1.419 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4507/1.835, allocations: 175.8 MB / 1.591 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.585e-06/1.835, allocations: 0 / 1.591 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002557/1.835, allocations: 76 kB / 1.591 GB, free: 2.715 MB / 0.9948 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.01297/1.848, allocations: 3.165 MB / 1.594 GB, free: 15.49 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/1.848, allocations: 12.03 kB / 1.594 GB, free: 15.48 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/1.864, allocations: 2.379 MB / 1.596 GB, free: 13.09 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/1.87, allocations: 2.322 MB / 1.599 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/1.871, allocations: 128 kB / 1.599 GB, free: 10.6 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/1.873, allocations: 228 kB / 1.599 GB, free: 10.38 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01343/1.886, allocations: 5.166 MB / 1.604 GB, free: 5.203 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/1.908, allocations: 5.984 MB / 1.61 GB, free: 15.11 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/1.908, allocations: 4 kB / 1.61 GB, free: 15.11 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0017/1.91, allocations: 0 / 1.61 GB, free: 15.11 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005383/1.911, allocations: 322.7 kB / 1.61 GB, free: 14.79 MB / 1.026 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.05056/1.961, allocations: 28.22 MB / 1.638 GB, free: 80 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/1.968, allocations: 3.131 MB / 1.641 GB, free: 12.79 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/1.972, allocations: 1.541 MB / 1.642 GB, free: 11.23 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000372/1.972, allocations: 122.4 kB / 1.643 GB, free: 11.09 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.343e-05/1.973, allocations: 63.81 kB / 1.643 GB, free: 11.02 MB / 1.057 GB Notification: Performance of pre-optimization done (n=176): time 5.881e-06/1.973, allocations: 3.938 kB / 1.643 GB, free: 11.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=221): time 0.04269/2.015, allocations: 12.9 MB / 1.655 GB, free: 14.06 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/2.016, allocations: 235.6 kB / 1.655 GB, free: 13.78 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/2.019, allocations: 1.328 MB / 1.657 GB, free: 12.44 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005948/2.02, allocations: 29.7 kB / 1.657 GB, free: 12.4 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00201/2.022, allocations: 1.744 MB / 1.658 GB, free: 10.63 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/2.023, allocations: 0.7275 MB / 1.659 GB, free: 9.895 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005261/2.024, allocations: 0 / 1.659 GB, free: 9.895 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0004241/2.024, allocations: 444.5 kB / 1.66 GB, free: 9.453 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004226/2.029, allocations: 1.845 MB / 1.661 GB, free: 7.605 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005476/2.034, allocations: 2.934 MB / 1.664 GB, free: 4.168 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006961/2.041, allocations: 2.605 MB / 1.667 GB, free: 1.562 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/2.041, allocations: 8 kB / 1.667 GB, free: 1.555 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01963/2.061, allocations: 7.955 MB / 1.675 GB, free: 9.578 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.00651/2.067, allocations: 14.1 MB / 1.688 GB, free: 10.37 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.033e-05/2.068, allocations: 36 kB / 1.688 GB, free: 10.34 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/2.081, allocations: 3.691 MB / 1.692 GB, free: 6.633 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004681/2.086, allocations: 0.9281 MB / 1.693 GB, free: 5.703 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/2.106, allocations: 11.18 MB / 1.704 GB, free: 10.37 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/2.111, allocations: 0.5103 MB / 1.704 GB, free: 9.859 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007962/2.112, allocations: 172 kB / 1.704 GB, free: 9.691 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/2.112, allocations: 6.031 kB / 1.704 GB, free: 9.688 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009376/2.121, allocations: 4.589 MB / 1.709 GB, free: 5.098 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/2.121, allocations: 36.36 kB / 1.709 GB, free: 5.062 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.706e-05/2.121, allocations: 63.95 kB / 1.709 GB, free: 5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/2.127, allocations: 1.178 MB / 1.71 GB, free: 3.82 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.107e-05/2.127, allocations: 75.72 kB / 1.71 GB, free: 3.746 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005128/2.132, allocations: 454.8 kB / 1.711 GB, free: 3.301 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001461/2.134, allocations: 167.9 kB / 1.711 GB, free: 3.137 MB / 1.12 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.002208/2.136, allocations: 200.7 kB / 1.711 GB, free: 2.934 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.137, allocations: 189.8 kB / 1.711 GB, free: 2.746 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01988/2.157, allocations: 7.232 MB / 1.718 GB, free: 11.48 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/2.157, allocations: 23.95 kB / 1.718 GB, free: 11.46 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/2.157, allocations: 16 kB / 1.718 GB, free: 11.45 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.879e-05/2.157, allocations: 7.969 kB / 1.718 GB, free: 11.44 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02861/2.186, allocations: 11.88 MB / 1.73 GB, free: 15.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/2.186, allocations: 4 kB / 1.73 GB, free: 15.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/2.19, allocations: 0.6125 MB / 1.731 GB, free: 14.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01507/2.205, allocations: 4.168 MB / 1.735 GB, free: 10.59 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005836/2.205, allocations: 31.95 kB / 1.735 GB, free: 10.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7145/2.92, allocations: 16.02 MB / 1.75 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/2.92, allocations: 13.64 kB / 1.75 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/2.938, allocations: 7.798 MB / 1.758 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/2.94, allocations: 0.6358 MB / 1.759 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/2.941, allocations: 15.78 kB / 1.759 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/2.944, allocations: 0.5095 MB / 1.759 GB, free: 312.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006738/2.945, allocations: 184.3 kB / 1.759 GB, free: 312.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/2.945, allocations: 80.7 kB / 1.759 GB, free: 312.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001663/2.947, allocations: 0.9749 MB / 1.76 GB, free: 312.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/2.947, allocations: 0 / 1.76 GB, free: 312.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006355/2.953, allocations: 1.515 MB / 1.762 GB, free: 312.1 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.0004097/2.953, allocations: 150 kB / 1.762 GB, free: 312.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01432/2.968, allocations: 7.38 MB / 1.769 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/2.968, allocations: 1.25 kB / 1.769 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006979/2.975, allocations: 2.977 MB / 1.772 GB, free: 311.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/2.977, allocations: 166.7 kB / 1.772 GB, free: 311.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/2.994, allocations: 6.563 MB / 1.779 GB, free: 310.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004349/2.999, allocations: 2.95 MB / 1.781 GB, free: 309.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006549/3.005, allocations: 1.827 MB / 1.783 GB, free: 309.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/3.006, allocations: 155.7 kB / 1.783 GB, free: 309.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.673e-06/3.006, allocations: 1.312 kB / 1.783 GB, free: 309.5 MB / 1.151 GB Notification: Performance of Templates: time 0.0715/3.078, allocations: 48.49 MB / 1.831 GB, free: 308 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches