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.399/2.399, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.00114/0.00114, allocations: 176.9 kB / 496.1 MB, free: 12.86 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.64/1.64, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001049/0.001048, allocations: 91.75 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.71e-05/5.73e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.381, allocations: 212.5 MB / 1.426 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/1.381, allocations: 111.3 kB / 1.426 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4319/1.813, allocations: 176.6 MB / 1.599 GB, free: 11.66 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.755e-06/1.813, allocations: 0 / 1.599 GB, free: 11.66 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.0001616/1.813, allocations: 79.94 kB / 1.599 GB, free: 11.58 MB / 1.057 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.01233/1.826, allocations: 3.167 MB / 1.602 GB, free: 8.355 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/1.826, allocations: 12.03 kB / 1.602 GB, free: 8.344 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01512/1.841, allocations: 2.371 MB / 1.604 GB, free: 5.965 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007053/1.848, allocations: 2.326 MB / 1.607 GB, free: 3.594 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/1.848, allocations: 299.9 kB / 1.607 GB, free: 3.301 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/1.85, allocations: 388 kB / 1.607 GB, free: 2.922 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01636/1.866, allocations: 6.55 MB / 1.614 GB, free: 12.26 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.112e-05/1.866, allocations: 7.875 kB / 1.614 GB, free: 12.25 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004859/1.867, allocations: 164 kB / 1.614 GB, free: 12.09 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005007/1.867, allocations: 318.8 kB / 1.614 GB, free: 11.78 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01093/1.878, allocations: 5.702 MB / 1.62 GB, free: 6.074 MB / 1.073 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.05185/1.93, allocations: 29.04 MB / 1.648 GB, free: 6.523 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005834/1.936, allocations: 3.211 MB / 1.651 GB, free: 3.141 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/1.939, allocations: 1.596 MB / 1.653 GB, free: 1.527 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/1.939, allocations: 126.4 kB / 1.653 GB, free: 1.387 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/1.939, allocations: 59.81 kB / 1.653 GB, free: 1.32 MB / 1.104 GB Notification: Performance of pre-optimization done (n=176): time 3.707e-06/1.939, allocations: 3.938 kB / 1.653 GB, free: 1.316 MB / 1.104 GB Notification: Performance of matching and sorting (n=221): time 0.068/2.007, allocations: 20.25 MB / 1.673 GB, free: 13 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/2.008, allocations: 235.5 kB / 1.673 GB, free: 12.72 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/2.01, allocations: 1.467 MB / 1.674 GB, free: 11.24 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0006922/2.011, allocations: 61.7 kB / 1.674 GB, free: 11.18 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001517/2.012, allocations: 1.744 MB / 1.676 GB, free: 9.41 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.001136/2.014, allocations: 0.7587 MB / 1.677 GB, free: 8.641 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/2.014, allocations: 68 kB / 1.677 GB, free: 8.574 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0002593/2.014, allocations: 432.5 kB / 1.677 GB, free: 8.145 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/2.017, allocations: 1.904 MB / 1.679 GB, free: 6.238 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003775/2.021, allocations: 3.015 MB / 1.682 GB, free: 2.715 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/2.024, allocations: 2.402 MB / 1.685 GB, free: 320 kB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.675e-05/2.024, allocations: 8 kB / 1.685 GB, free: 312 kB / 1.135 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01821/2.042, allocations: 8.325 MB / 1.693 GB, free: 7.953 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.7627/2.805, allocations: 14.1 MB / 1.706 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/2.805, allocations: 36.84 kB / 1.706 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01805/2.824, allocations: 4.412 MB / 1.711 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004879/2.828, allocations: 0.9303 MB / 1.712 GB, free: 304.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02319/2.852, allocations: 11.36 MB / 1.723 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005742/2.858, allocations: 0.5637 MB / 1.723 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/2.859, allocations: 164.6 kB / 1.723 GB, free: 302.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/2.859, allocations: 4.031 kB / 1.723 GB, free: 302.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01812/2.877, allocations: 6.728 MB / 1.73 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002422/2.877, allocations: 35.66 kB / 1.73 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009877/2.887, allocations: 2.605 MB / 1.733 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005895/2.893, allocations: 1.044 MB / 1.734 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/2.912, allocations: 9.321 MB / 1.743 GB, free: 301.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/2.917, allocations: 0.5257 MB / 1.743 GB, free: 301.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/2.918, allocations: 167 kB / 1.743 GB, free: 301.4 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.00171/2.919, allocations: 295 kB / 1.744 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/2.921, allocations: 200.3 kB / 1.744 GB, free: 301.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01994/2.941, allocations: 7.254 MB / 1.751 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.443e-05/2.941, allocations: 23 kB / 1.751 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/2.941, allocations: 9.812 kB / 1.751 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.564e-05/2.941, allocations: 12.03 kB / 1.751 GB, free: 301.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02737/2.968, allocations: 12.54 MB / 1.763 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.837e-05/2.968, allocations: 7.906 kB / 1.763 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/2.971, allocations: 0.6099 MB / 1.764 GB, free: 299.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01329/2.985, allocations: 4.228 MB / 1.768 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007417/2.985, allocations: 68.25 kB / 1.768 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/3.01, allocations: 16.41 MB / 1.784 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/3.011, allocations: 7.375 kB / 1.784 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/3.025, allocations: 7.8 MB / 1.792 GB, free: 291.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/3.027, allocations: 0.6521 MB / 1.792 GB, free: 291 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/3.028, allocations: 50.42 kB / 1.792 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/3.031, allocations: 498.1 kB / 1.793 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006588/3.032, allocations: 181.8 kB / 1.793 GB, free: 290.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001898/3.032, allocations: 86.7 kB / 1.793 GB, free: 290.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00151/3.033, allocations: 1.09 MB / 1.794 GB, free: 290.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/3.033, allocations: 2.906 kB / 1.794 GB, free: 290.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006002/3.039, allocations: 1.749 MB / 1.796 GB, free: 290.3 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.0004747/3.04, allocations: 184.2 kB / 1.796 GB, free: 290.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01635/3.056, allocations: 8.552 MB / 1.804 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.992e-05/3.056, allocations: 3.406 kB / 1.804 GB, free: 287.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/3.063, allocations: 3.074 MB / 1.807 GB, free: 286.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/3.064, allocations: 222.5 kB / 1.808 GB, free: 286.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/3.079, allocations: 6.68 MB / 1.814 GB, free: 284.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/3.081, allocations: 2.969 MB / 1.817 GB, free: 282.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00519/3.087, allocations: 1.815 MB / 1.819 GB, free: 282.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/3.087, allocations: 157.2 kB / 1.819 GB, free: 282.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.493e-06/3.087, allocations: 0 / 1.819 GB, free: 282.7 MB / 1.151 GB Notification: Performance of Templates: time 0.08151/3.169, allocations: 55.86 MB / 1.874 GB, free: 263.1 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