Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.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.BalancedStepUp.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.232/2.232, allocations: 390.3 MB / 402.8 MB, free: 6.641 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.001214/0.001214, allocations: 180.1 kB / 496.1 MB, free: 12.84 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.458/1.458, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009885/0.0009887, allocations: 95.94 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.793e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2339, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9524/1.186, allocations: 212 MB / 1.426 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/1.187, allocations: 112.6 kB / 1.426 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4244/1.611, allocations: 158.2 MB / 1.58 GB, free: 14.71 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.345e-06/1.611, allocations: 0 / 1.58 GB, free: 14.71 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0002584/1.611, allocations: 79.98 kB / 1.58 GB, free: 14.64 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: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01222/1.624, allocations: 3.024 MB / 1.583 GB, free: 11.55 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.624, allocations: 12.03 kB / 1.583 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/1.638, allocations: 2.137 MB / 1.586 GB, free: 9.395 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/1.646, allocations: 2.24 MB / 1.588 GB, free: 7.109 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00044/1.646, allocations: 279.4 kB / 1.588 GB, free: 6.836 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002534/1.649, allocations: 359.9 kB / 1.588 GB, free: 6.484 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/1.667, allocations: 6.158 MB / 1.594 GB, free: 204 kB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/1.668, allocations: 7.844 kB / 1.594 GB, free: 196 kB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001513/1.669, allocations: 164 kB / 1.595 GB, free: 32 kB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006679/1.67, allocations: 302.2 kB / 1.595 GB, free: 15.73 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01307/1.683, allocations: 5.501 MB / 1.6 GB, free: 10.23 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.04826/1.731, allocations: 28.24 MB / 1.628 GB, free: 11.59 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006036/1.737, allocations: 3.755 MB / 1.631 GB, free: 7.625 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.741, allocations: 1.867 MB / 1.633 GB, free: 5.742 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/1.741, allocations: 135 kB / 1.633 GB, free: 5.594 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/1.741, allocations: 68.45 kB / 1.633 GB, free: 5.516 MB / 1.089 GB Notification: Performance of pre-optimization done (n=198): time 4.418e-06/1.741, allocations: 0 / 1.633 GB, free: 5.516 MB / 1.089 GB Notification: Performance of matching and sorting (n=255): time 0.09089/1.832, allocations: 24.61 MB / 1.657 GB, free: 12.88 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/1.832, allocations: 231.6 kB / 1.658 GB, free: 12.6 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/1.834, allocations: 1.286 MB / 1.659 GB, free: 11.3 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0004607/1.835, allocations: 69.7 kB / 1.659 GB, free: 11.23 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009729/1.836, allocations: 1.551 MB / 1.661 GB, free: 9.66 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009808/1.837, allocations: 0.8626 MB / 1.661 GB, free: 8.785 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/1.837, allocations: 60 kB / 1.661 GB, free: 8.727 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002293/1.837, allocations: 444.4 kB / 1.662 GB, free: 8.285 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/1.84, allocations: 2.036 MB / 1.664 GB, free: 6.246 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003658/1.844, allocations: 2.943 MB / 1.667 GB, free: 2.91 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003642/1.848, allocations: 2.485 MB / 1.669 GB, free: 408 kB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.549e-05/1.848, allocations: 8 kB / 1.669 GB, free: 400 kB / 1.12 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01607/1.864, allocations: 7.744 MB / 1.677 GB, free: 8.586 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.004328/1.868, allocations: 10.79 MB / 1.687 GB, free: 12.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/1.868, allocations: 28 kB / 1.687 GB, free: 12.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/1.892, allocations: 6.141 MB / 1.693 GB, free: 6.754 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/1.897, allocations: 0.8774 MB / 1.694 GB, free: 5.875 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7722/2.669, allocations: 13.46 MB / 1.707 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006533/2.676, allocations: 0.5187 MB / 1.708 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/2.677, allocations: 194.9 kB / 1.708 GB, free: 316.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/2.677, allocations: 5.969 kB / 1.708 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01791/2.695, allocations: 7.037 MB / 1.715 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/2.695, allocations: 30.94 kB / 1.715 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/2.706, allocations: 2.728 MB / 1.718 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005793/2.712, allocations: 1.047 MB / 1.719 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/2.732, allocations: 10.98 MB / 1.729 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/2.737, allocations: 0.496 MB / 1.73 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008116/2.738, allocations: 192.7 kB / 1.73 GB, free: 315.3 MB / 1.151 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 () * 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.001068/2.739, allocations: 283.4 kB / 1.73 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006862/2.74, allocations: 188.9 kB / 1.73 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/2.757, allocations: 7.503 MB / 1.738 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.896e-05/2.757, allocations: 26.31 kB / 1.738 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.734e-05/2.757, allocations: 11.12 kB / 1.738 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/2.757, allocations: 16.94 kB / 1.738 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02451/2.782, allocations: 12.61 MB / 1.75 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.732e-05/2.782, allocations: 11.12 kB / 1.75 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003341/2.785, allocations: 0.6203 MB / 1.751 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0237/2.809, allocations: 5.961 MB / 1.757 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007574/2.81, allocations: 85.2 kB / 1.757 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/2.828, allocations: 13.05 MB / 1.769 GB, free: 307.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/2.828, allocations: 13.12 kB / 1.769 GB, free: 307.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/2.841, allocations: 7.437 MB / 1.777 GB, free: 304.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/2.844, allocations: 0.7399 MB / 1.777 GB, free: 304.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004702/2.844, allocations: 49.09 kB / 1.777 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/2.847, allocations: 487.6 kB / 1.778 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005597/2.848, allocations: 203.8 kB / 1.778 GB, free: 304.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002634/2.848, allocations: 130.5 kB / 1.778 GB, free: 304.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001443/2.85, allocations: 0.9998 MB / 1.779 GB, free: 303.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.51e-07/2.85, allocations: 0 / 1.779 GB, free: 303.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006214/2.856, allocations: 1.646 MB / 1.781 GB, free: 303.7 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 (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.0004986/2.857, allocations: 192.7 kB / 1.781 GB, free: 303.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01725/2.874, allocations: 9.224 MB / 1.79 GB, free: 300.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/2.874, allocations: 3.531 kB / 1.79 GB, free: 300.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006187/2.88, allocations: 3.179 MB / 1.793 GB, free: 299.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/2.882, allocations: 201.9 kB / 1.793 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/2.906, allocations: 9.052 MB / 1.802 GB, free: 297.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/2.909, allocations: 2.872 MB / 1.805 GB, free: 296 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005202/2.914, allocations: 1.79 MB / 1.807 GB, free: 296 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/2.914, allocations: 150.8 kB / 1.807 GB, free: 295.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/2.914, allocations: 0 / 1.807 GB, free: 295.9 MB / 1.151 GB Notification: Performance of Templates: time 0.08612/3.001, allocations: 58.54 MB / 1.864 GB, free: 274.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches