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.UnbalancedStepDown.DY.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.UnbalancedStepDown.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001377/0.001377, allocations: 178.8 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.251/2.251, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.001076/0.001076, allocations: 102.1 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 11.89 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7371/0.9841, allocations: 193.8 MB / 1.089 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.9845, allocations: 117.4 kB / 1.09 GB, free: 52.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3364/1.321, allocations: 148.3 MB / 1.234 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.044e-06/1.321, allocations: 0 / 1.234 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002495/1.321, allocations: 76 kB / 1.234 GB, free: 3.105 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01069/1.332, allocations: 3.217 MB / 1.238 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/1.332, allocations: 12.03 kB / 1.238 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01332/1.345, allocations: 2.249 MB / 1.24 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006216/1.352, allocations: 2.254 MB / 1.242 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/1.352, allocations: 286.5 kB / 1.242 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001615/1.353, allocations: 362.8 kB / 1.243 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02591/1.379, allocations: 6.748 MB / 1.249 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002411/1.38, allocations: 11.94 kB / 1.249 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002006/1.382, allocations: 147.3 kB / 1.249 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006352/1.382, allocations: 310.3 kB / 1.25 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/1.401, allocations: 6.569 MB / 1.256 GB, free: 12.8 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.04553/1.446, allocations: 28.5 MB / 1.284 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007909/1.454, allocations: 4.24 MB / 1.288 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002983/1.454, allocations: 130.2 kB / 1.288 GB, free: 9.379 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/1.455, allocations: 64.5 kB / 1.288 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=198): time 4.218e-06/1.455, allocations: 4 kB / 1.288 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of matching and sorting (n=255): time 0.09504/1.55, allocations: 28.8 MB / 1.316 GB, free: 12.49 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001447/1.55, allocations: 235.6 kB / 1.317 GB, free: 12.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/1.552, allocations: 1.334 MB / 1.318 GB, free: 10.87 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005817/1.553, allocations: 65.7 kB / 1.318 GB, free: 10.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/1.554, allocations: 1.562 MB / 1.319 GB, free: 9.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001069/1.555, allocations: 0.868 MB / 1.32 GB, free: 8.363 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/1.555, allocations: 60 kB / 1.32 GB, free: 8.305 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002578/1.555, allocations: 440.4 kB / 1.321 GB, free: 7.867 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005513/1.561, allocations: 2.527 MB / 1.323 GB, free: 5.336 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006144/1.567, allocations: 3.419 MB / 1.327 GB, free: 1.523 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/1.573, allocations: 2.963 MB / 1.329 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/1.574, allocations: 15.89 kB / 1.33 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02135/1.595, allocations: 8.794 MB / 1.338 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00378/1.599, allocations: 10.8 MB / 1.349 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.643e-05/1.599, allocations: 28 kB / 1.349 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02197/1.621, allocations: 5.96 MB / 1.354 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/1.625, allocations: 0.8781 MB / 1.355 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/1.646, allocations: 14 MB / 1.369 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004119/1.65, allocations: 0.5457 MB / 1.37 GB, free: 4.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005672/1.651, allocations: 167.9 kB / 1.37 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/1.651, allocations: 7.938 kB / 1.37 GB, free: 4.238 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01946/1.67, allocations: 8.085 MB / 1.378 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001019/1.67, allocations: 28 kB / 1.378 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/1.683, allocations: 3.213 MB / 1.381 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005187/1.688, allocations: 1.037 MB / 1.382 GB, free: 7.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.388/2.076, allocations: 11.54 MB / 1.393 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/2.08, allocations: 0.5121 MB / 1.394 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005114/2.081, allocations: 170.9 kB / 1.394 GB, free: 236.6 MB / 0.8855 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 () * Number of clocked 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.00314/2.084, allocations: 1.621 MB / 1.395 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/2.085, allocations: 196.9 kB / 1.395 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/2.106, allocations: 8.535 MB / 1.404 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/2.106, allocations: 25.06 kB / 1.404 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/2.106, allocations: 17.89 kB / 1.404 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/2.106, allocations: 16.59 kB / 1.404 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02693/2.133, allocations: 13.6 MB / 1.417 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-05/2.133, allocations: 9.125 kB / 1.417 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004251/2.137, allocations: 0.6277 MB / 1.418 GB, free: 235 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03145/2.169, allocations: 5.782 MB / 1.423 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007483/2.17, allocations: 71.53 kB / 1.424 GB, free: 234.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02637/2.196, allocations: 13.58 MB / 1.437 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.177e-05/2.196, allocations: 15.55 kB / 1.437 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/2.215, allocations: 8.485 MB / 1.445 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001846/2.217, allocations: 0.7206 MB / 1.446 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004987/2.217, allocations: 52.33 kB / 1.446 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003197/2.22, allocations: 0.4947 MB / 1.446 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/2.221, allocations: 192.2 kB / 1.446 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002462/2.221, allocations: 109 kB / 1.447 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001253/2.222, allocations: 1.039 MB / 1.448 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.533e-06/2.222, allocations: 0 / 1.448 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004777/2.227, allocations: 1.663 MB / 1.449 GB, free: 231.4 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 (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.000406/2.228, allocations: 199.2 kB / 1.449 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0218/2.249, allocations: 10.61 MB / 1.46 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.249, allocations: 6.469 kB / 1.46 GB, free: 230.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008258/2.258, allocations: 3.645 MB / 1.463 GB, free: 230.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/2.259, allocations: 223.6 kB / 1.464 GB, free: 230.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/2.285, allocations: 12.03 MB / 1.475 GB, free: 226 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/2.288, allocations: 2.881 MB / 1.478 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004503/2.292, allocations: 1.659 MB / 1.48 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/2.293, allocations: 171.4 kB / 1.48 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.773e-06/2.293, allocations: 0 / 1.48 GB, free: 224.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.07039/2.363, allocations: 56.79 MB / 1.535 GB, free: 194.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches