Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001117/0.001117, allocations: 165 kB / 492.3 MB, free: 0.6172 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.45/1.45, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008443/0.0008442, allocations: 87.89 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.876e-05, allocations: 2.062 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2852, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.276, allocations: 211.2 MB / 1.419 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/1.277, allocations: 116.9 kB / 1.419 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3844/1.661, allocations: 158.2 MB / 1.573 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.447e-06/1.661, allocations: 0 / 1.573 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001888/1.662, allocations: 76 kB / 1.573 GB, free: 4.512 MB / 0.9792 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.011/1.673, allocations: 3.024 MB / 1.576 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.673, allocations: 8.031 kB / 1.576 GB, free: 1.422 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/1.686, allocations: 2.137 MB / 1.578 GB, free: 15.28 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006608/1.693, allocations: 2.24 MB / 1.581 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/1.694, allocations: 275.4 kB / 1.581 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00204/1.696, allocations: 367.9 kB / 1.581 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/1.717, allocations: 6.161 MB / 1.587 GB, free: 6.082 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001902/1.717, allocations: 3.938 kB / 1.587 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001756/1.719, allocations: 152 kB / 1.587 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006903/1.719, allocations: 310.2 kB / 1.588 GB, free: 5.625 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/1.733, allocations: 5.505 MB / 1.593 GB, free: 112 kB / 0.9948 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.04589/1.779, allocations: 28.23 MB / 1.621 GB, free: 1.484 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006438/1.785, allocations: 3.75 MB / 1.624 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/1.789, allocations: 1.867 MB / 1.626 GB, free: 11.63 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/1.789, allocations: 135 kB / 1.626 GB, free: 11.48 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/1.789, allocations: 60.5 kB / 1.626 GB, free: 11.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 5.29e-06/1.789, allocations: 0 / 1.626 GB, free: 11.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.09175/1.881, allocations: 24.62 MB / 1.65 GB, free: 2.781 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/1.881, allocations: 251.5 kB / 1.651 GB, free: 2.488 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/1.883, allocations: 1.274 MB / 1.652 GB, free: 1.203 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0005163/1.884, allocations: 65.7 kB / 1.652 GB, free: 1.133 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/1.885, allocations: 1.555 MB / 1.653 GB, free: 15.55 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.886, allocations: 0.8625 MB / 1.654 GB, free: 14.68 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/1.886, allocations: 64 kB / 1.654 GB, free: 14.62 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002854/1.887, allocations: 444.4 kB / 1.655 GB, free: 14.18 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/1.89, allocations: 2.036 MB / 1.657 GB, free: 12.14 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/1.894, allocations: 2.947 MB / 1.66 GB, free: 8.793 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004176/1.899, allocations: 2.477 MB / 1.662 GB, free: 6.289 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/1.899, allocations: 8 kB / 1.662 GB, free: 6.281 MB / 1.073 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01614/1.915, allocations: 7.752 MB / 1.67 GB, free: 14.46 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.0043/1.919, allocations: 10.79 MB / 1.68 GB, free: 2.816 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-05/1.919, allocations: 28 kB / 1.68 GB, free: 2.789 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02443/1.944, allocations: 6.133 MB / 1.686 GB, free: 12.64 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004418/1.948, allocations: 0.8813 MB / 1.687 GB, free: 11.75 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02501/1.973, allocations: 13.47 MB / 1.7 GB, free: 14.12 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00499/1.978, allocations: 0.5184 MB / 1.701 GB, free: 13.6 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/1.979, allocations: 191.9 kB / 1.701 GB, free: 13.41 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/1.979, allocations: 7.938 kB / 1.701 GB, free: 13.4 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01737/1.997, allocations: 7.04 MB / 1.708 GB, free: 6.312 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001276/1.997, allocations: 28 kB / 1.708 GB, free: 6.285 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009224/2.006, allocations: 2.721 MB / 1.71 GB, free: 3.559 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005279/2.011, allocations: 1.053 MB / 1.711 GB, free: 2.504 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/2.031, allocations: 10.97 MB / 1.722 GB, free: 7.383 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004868/2.036, allocations: 0.499 MB / 1.723 GB, free: 6.883 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/2.037, allocations: 187.9 kB / 1.723 GB, free: 6.699 MB / 1.135 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.001687/2.039, allocations: 284.1 kB / 1.723 GB, free: 6.414 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/2.04, allocations: 189.8 kB / 1.723 GB, free: 6.227 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01798/2.058, allocations: 7.503 MB / 1.731 GB, free: 14.68 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.369e-05/2.058, allocations: 35.94 kB / 1.731 GB, free: 14.64 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.205e-05/2.058, allocations: 8 kB / 1.731 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.863e-05/2.058, allocations: 15.95 kB / 1.731 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03078/2.089, allocations: 12.62 MB / 1.743 GB, free: 1.828 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/2.089, allocations: 8 kB / 1.743 GB, free: 1.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003517/2.093, allocations: 0.6161 MB / 1.744 GB, free: 1.203 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7894/2.882, allocations: 5.955 MB / 1.749 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007147/2.883, allocations: 84.03 kB / 1.749 GB, free: 321.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/2.905, allocations: 13.05 MB / 1.762 GB, free: 319.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/2.905, allocations: 12.28 kB / 1.762 GB, free: 319.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/2.921, allocations: 7.441 MB / 1.769 GB, free: 318.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/2.924, allocations: 0.7303 MB / 1.77 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009736/2.925, allocations: 55.66 kB / 1.77 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004406/2.929, allocations: 488.8 kB / 1.771 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/2.93, allocations: 201.5 kB / 1.771 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006611/2.931, allocations: 129.1 kB / 1.771 GB, free: 318.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002778/2.934, allocations: 0.9962 MB / 1.772 GB, free: 317.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.42e-07/2.934, allocations: 0 / 1.772 GB, free: 317.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009249/2.943, allocations: 1.65 MB / 1.774 GB, free: 317.9 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.0009063/2.944, allocations: 200.7 kB / 1.774 GB, free: 317.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02211/2.966, allocations: 9.223 MB / 1.783 GB, free: 317.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/2.966, allocations: 8.031 kB / 1.783 GB, free: 317.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.008319/2.975, allocations: 3.175 MB / 1.786 GB, free: 317.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/2.977, allocations: 207.5 kB / 1.786 GB, free: 317.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02693/3.004, allocations: 9.04 MB / 1.795 GB, free: 316.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/3.007, allocations: 2.882 MB / 1.798 GB, free: 315.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00544/3.012, allocations: 1.784 MB / 1.8 GB, free: 315.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/3.013, allocations: 157.1 kB / 1.8 GB, free: 315.3 MB / 1.151 GB Notification: Performance of SimCode: time 3.407e-06/3.013, allocations: 0 / 1.8 GB, free: 315.3 MB / 1.151 GB Notification: Performance of Templates: time 0.08318/3.096, allocations: 58.53 MB / 1.857 GB, free: 313 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches