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.387/2.387, allocations: 390.5 MB / 398 MB, free: 10.96 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.001111/0.001111, allocations: 180.8 kB / 491.2 MB, free: 1.578 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.612/1.612, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009003/0.0009002, allocations: 87.59 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.478e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.406, allocations: 211.8 MB / 1.419 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/1.406, allocations: 113.2 kB / 1.419 GB, free: 5 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4059/1.812, allocations: 164.9 MB / 1.58 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.395e-06/1.812, allocations: 0 / 1.58 GB, free: 13.81 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002618/1.813, allocations: 76 kB / 1.58 GB, free: 13.74 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.01269/1.825, allocations: 3.162 MB / 1.583 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.825, allocations: 12.03 kB / 1.583 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01468/1.84, allocations: 2.168 MB / 1.586 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007605/1.848, allocations: 2.322 MB / 1.588 GB, free: 5.965 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/1.848, allocations: 132 kB / 1.588 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00296/1.851, allocations: 224 kB / 1.588 GB, free: 5.617 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01471/1.866, allocations: 5.096 MB / 1.593 GB, free: 0.5156 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02165/1.888, allocations: 5.904 MB / 1.599 GB, free: 10.5 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002173/1.888, allocations: 7.938 kB / 1.599 GB, free: 10.49 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/1.89, allocations: 7.938 kB / 1.599 GB, free: 10.48 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007338/1.891, allocations: 318.7 kB / 1.599 GB, free: 10.17 MB / 1.01 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.05183/1.942, allocations: 27.87 MB / 1.626 GB, free: 11.94 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005682/1.948, allocations: 3.143 MB / 1.63 GB, free: 8.637 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/1.951, allocations: 1.556 MB / 1.631 GB, free: 7.059 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002817/1.951, allocations: 122.4 kB / 1.631 GB, free: 6.922 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/1.951, allocations: 63.8 kB / 1.631 GB, free: 6.852 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 4.539e-06/1.951, allocations: 0 / 1.631 GB, free: 6.852 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.03759/1.989, allocations: 13.23 MB / 1.644 GB, free: 9.57 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001968/1.989, allocations: 235.6 kB / 1.644 GB, free: 9.289 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/1.993, allocations: 1.324 MB / 1.646 GB, free: 7.953 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0006495/1.994, allocations: 29.7 kB / 1.646 GB, free: 7.918 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001734/1.995, allocations: 1.748 MB / 1.647 GB, free: 6.145 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001247/1.997, allocations: 0.7237 MB / 1.648 GB, free: 5.41 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005088/1.997, allocations: 0 / 1.648 GB, free: 5.41 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003725/1.998, allocations: 440.4 kB / 1.649 GB, free: 4.973 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003323/2.001, allocations: 1.861 MB / 1.65 GB, free: 3.109 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004275/2.005, allocations: 2.962 MB / 1.653 GB, free: 15.64 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005679/2.011, allocations: 2.71 MB / 1.656 GB, free: 12.93 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.005e-05/2.011, allocations: 11.94 kB / 1.656 GB, free: 12.92 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01962/2.031, allocations: 7.324 MB / 1.663 GB, free: 5.578 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.006049/2.037, allocations: 14.1 MB / 1.677 GB, free: 6.371 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/2.037, allocations: 36 kB / 1.677 GB, free: 6.336 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01282/2.05, allocations: 3.415 MB / 1.68 GB, free: 2.91 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/2.054, allocations: 0.9203 MB / 1.681 GB, free: 1.988 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02112/2.075, allocations: 11.4 MB / 1.692 GB, free: 6.43 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005235/2.081, allocations: 498.5 kB / 1.693 GB, free: 5.941 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/2.082, allocations: 204 kB / 1.693 GB, free: 5.742 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/2.082, allocations: 4 kB / 1.693 GB, free: 5.738 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/2.093, allocations: 4.76 MB / 1.698 GB, free: 0.9766 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/2.094, allocations: 36 kB / 1.698 GB, free: 0.9414 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.367e-05/2.094, allocations: 60 kB / 1.698 GB, free: 0.8828 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005972/2.1, allocations: 1.213 MB / 1.699 GB, free: 15.67 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001069/2.1, allocations: 75.72 kB / 1.699 GB, free: 15.59 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/2.104, allocations: 438.8 kB / 1.699 GB, free: 15.16 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009716/2.105, allocations: 203.9 kB / 1.7 GB, free: 14.96 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.001471/2.107, allocations: 196.6 kB / 1.7 GB, free: 14.77 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/2.108, allocations: 189.8 kB / 1.7 GB, free: 14.58 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/2.124, allocations: 6.469 MB / 1.706 GB, free: 8.082 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.67e-05/2.124, allocations: 27.98 kB / 1.706 GB, free: 8.055 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-05/2.124, allocations: 11.95 kB / 1.706 GB, free: 8.043 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-05/2.124, allocations: 11.97 kB / 1.706 GB, free: 8.031 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/2.152, allocations: 11.19 MB / 1.717 GB, free: 12.68 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/2.152, allocations: 8 kB / 1.717 GB, free: 12.67 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/2.155, allocations: 0.6168 MB / 1.718 GB, free: 12.05 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01336/2.168, allocations: 3.879 MB / 1.722 GB, free: 8.16 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006708/2.169, allocations: 51.92 kB / 1.722 GB, free: 8.109 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/2.189, allocations: 11.13 MB / 1.733 GB, free: 12.83 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-05/2.189, allocations: 15.94 kB / 1.733 GB, free: 12.81 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/2.205, allocations: 7.032 MB / 1.739 GB, free: 5.398 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/2.207, allocations: 0.6858 MB / 1.74 GB, free: 4.691 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008914/2.208, allocations: 8 kB / 1.74 GB, free: 4.684 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004187/2.212, allocations: 495 kB / 1.741 GB, free: 4.199 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/2.213, allocations: 181.6 kB / 1.741 GB, free: 4.023 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004212/2.213, allocations: 123.9 kB / 1.741 GB, free: 3.902 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002054/2.215, allocations: 0.9752 MB / 1.742 GB, free: 2.926 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.71e-07/2.215, allocations: 0 / 1.742 GB, free: 2.926 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008261/2.223, allocations: 1.426 MB / 1.743 GB, free: 1.5 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.000747/2.224, allocations: 160.3 kB / 1.743 GB, free: 1.336 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.6654/2.89, allocations: 7.526 MB / 1.751 GB, free: 318.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/2.89, allocations: 5.375 kB / 1.751 GB, free: 318.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007095/2.897, allocations: 2.801 MB / 1.753 GB, free: 318.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/2.899, allocations: 162.3 kB / 1.754 GB, free: 318.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/2.922, allocations: 7.61 MB / 1.761 GB, free: 316.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004994/2.927, allocations: 2.939 MB / 1.764 GB, free: 316.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006841/2.934, allocations: 1.829 MB / 1.766 GB, free: 316.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/2.935, allocations: 158 kB / 1.766 GB, free: 316.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.303e-06/2.935, allocations: 3.812 kB / 1.766 GB, free: 316.1 MB / 1.151 GB Notification: Performance of Templates: time 0.08214/3.017, allocations: 47.31 MB / 1.812 GB, free: 314.4 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