Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001034/0.001034, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.559/1.559, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008973, allocations: 103.8 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.931e-05/1.934e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9358/1.224, allocations: 211 MB / 1.412 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.224, allocations: 112.9 kB / 1.412 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4313/1.655, allocations: 175.8 MB / 1.584 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.042e-06/1.655, allocations: 0 / 1.584 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000139/1.655, allocations: 83.94 kB / 1.584 GB, free: 11.04 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.008787/1.664, allocations: 3.156 MB / 1.587 GB, free: 7.824 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.664, allocations: 16.02 kB / 1.587 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/1.679, allocations: 2.367 MB / 1.589 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005888/1.685, allocations: 2.334 MB / 1.592 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/1.685, allocations: 128 kB / 1.592 GB, free: 2.926 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/1.687, allocations: 224 kB / 1.592 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0121/1.699, allocations: 5.174 MB / 1.597 GB, free: 13.53 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/1.713, allocations: 5.971 MB / 1.603 GB, free: 7.438 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.29e-05/1.713, allocations: 3.938 kB / 1.603 GB, free: 7.434 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/1.713, allocations: 4 kB / 1.603 GB, free: 7.43 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005048/1.714, allocations: 318.8 kB / 1.603 GB, free: 7.117 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.03636/1.75, allocations: 28.23 MB / 1.631 GB, free: 8.402 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/1.755, allocations: 3.127 MB / 1.634 GB, free: 5.109 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/1.757, allocations: 1.541 MB / 1.635 GB, free: 3.551 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/1.757, allocations: 130.2 kB / 1.635 GB, free: 3.406 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/1.757, allocations: 55.88 kB / 1.635 GB, free: 3.344 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 4.328e-06/1.757, allocations: 0 / 1.635 GB, free: 3.344 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.02728/1.785, allocations: 12.91 MB / 1.648 GB, free: 6.375 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.785, allocations: 235.6 kB / 1.648 GB, free: 6.094 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.787, allocations: 1.328 MB / 1.65 GB, free: 4.754 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0004907/1.788, allocations: 25.7 kB / 1.65 GB, free: 4.723 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001135/1.789, allocations: 1.752 MB / 1.651 GB, free: 2.945 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009642/1.79, allocations: 0.7237 MB / 1.652 GB, free: 2.211 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.79, allocations: 3.938 kB / 1.652 GB, free: 2.207 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002267/1.79, allocations: 444.5 kB / 1.652 GB, free: 1.766 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002483/1.793, allocations: 1.849 MB / 1.654 GB, free: 15.91 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.796, allocations: 2.934 MB / 1.657 GB, free: 12.48 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/1.8, allocations: 2.597 MB / 1.66 GB, free: 9.875 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/1.8, allocations: 15.94 kB / 1.66 GB, free: 9.859 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.0175/1.818, allocations: 7.939 MB / 1.667 GB, free: 1.898 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005234/1.823, allocations: 14.1 MB / 1.681 GB, free: 2.699 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.661e-05/1.823, allocations: 32 kB / 1.681 GB, free: 2.668 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/1.837, allocations: 3.703 MB / 1.685 GB, free: 14.95 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/1.841, allocations: 0.9281 MB / 1.686 GB, free: 14.02 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/1.86, allocations: 11.19 MB / 1.697 GB, free: 2.68 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/1.865, allocations: 0.5063 MB / 1.697 GB, free: 2.172 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007844/1.866, allocations: 164 kB / 1.697 GB, free: 2.012 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.866, allocations: 4 kB / 1.697 GB, free: 2.008 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008419/1.874, allocations: 4.593 MB / 1.702 GB, free: 13.41 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001078/1.874, allocations: 40.12 kB / 1.702 GB, free: 13.38 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.034e-05/1.874, allocations: 64 kB / 1.702 GB, free: 13.31 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/1.88, allocations: 1.178 MB / 1.703 GB, free: 12.13 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.801e-05/1.88, allocations: 75.72 kB / 1.703 GB, free: 12.06 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.884, allocations: 454.8 kB / 1.704 GB, free: 11.61 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006296/1.885, allocations: 160 kB / 1.704 GB, free: 11.46 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.001095/1.886, allocations: 203.9 kB / 1.704 GB, free: 11.25 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/1.887, allocations: 189.8 kB / 1.704 GB, free: 11.06 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/1.904, allocations: 7.228 MB / 1.711 GB, free: 3.801 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/1.905, allocations: 20 kB / 1.711 GB, free: 3.781 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.028e-05/1.905, allocations: 19.94 kB / 1.711 GB, free: 3.762 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/1.905, allocations: 11.97 kB / 1.711 GB, free: 3.75 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02795/1.933, allocations: 11.86 MB / 1.723 GB, free: 7.719 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/1.933, allocations: 8 kB / 1.723 GB, free: 7.711 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003231/1.936, allocations: 0.6083 MB / 1.723 GB, free: 7.102 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/1.95, allocations: 4.156 MB / 1.727 GB, free: 2.934 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005538/1.951, allocations: 39.95 kB / 1.728 GB, free: 2.895 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0287/1.98, allocations: 16.04 MB / 1.743 GB, free: 2.605 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.64e-05/1.98, allocations: 11.94 kB / 1.743 GB, free: 2.594 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6943/2.674, allocations: 7.785 MB / 1.751 GB, free: 317.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/2.676, allocations: 0.6394 MB / 1.751 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004832/2.677, allocations: 16.28 kB / 1.751 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003916/2.681, allocations: 0.5111 MB / 1.752 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006666/2.681, allocations: 182.5 kB / 1.752 GB, free: 317.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/2.682, allocations: 79.31 kB / 1.752 GB, free: 317.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001751/2.683, allocations: 0.9776 MB / 1.753 GB, free: 317.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.81e-07/2.683, allocations: 0 / 1.753 GB, free: 317.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006939/2.69, allocations: 1.512 MB / 1.755 GB, free: 317.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 (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.0004752/2.691, allocations: 150.5 kB / 1.755 GB, free: 317.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01455/2.705, allocations: 7.372 MB / 1.762 GB, free: 317.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/2.705, allocations: 6.062 kB / 1.762 GB, free: 317.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006851/2.712, allocations: 2.98 MB / 1.765 GB, free: 317.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/2.714, allocations: 171.2 kB / 1.765 GB, free: 317.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/2.731, allocations: 6.56 MB / 1.771 GB, free: 315.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004508/2.735, allocations: 2.954 MB / 1.774 GB, free: 315.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006783/2.742, allocations: 1.818 MB / 1.776 GB, free: 315.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/2.743, allocations: 160.7 kB / 1.776 GB, free: 315.1 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/2.743, allocations: 0 / 1.776 GB, free: 315.1 MB / 1.151 GB Notification: Performance of Templates: time 0.07336/2.816, allocations: 48.48 MB / 1.824 GB, free: 313.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches