Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.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.BalancedStepUp.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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.BalancedStepUp.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.0009998/0.0009996, allocations: 177 kB / 492.3 MB, free: 0.6055 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.482/1.482, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008434/0.0008435, allocations: 89.47 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.559e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2495, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.256, allocations: 210.7 MB / 1.418 GB, free: 5.617 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/1.256, allocations: 114 kB / 1.418 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3893/1.645, allocations: 164.9 MB / 1.579 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.184e-06/1.645, allocations: 0 / 1.579 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001644/1.646, allocations: 83.92 kB / 1.579 GB, free: 14.18 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.01055/1.656, allocations: 3.134 MB / 1.582 GB, free: 10.99 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.656, allocations: 8.031 kB / 1.582 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/1.67, allocations: 2.156 MB / 1.585 GB, free: 8.816 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006177/1.676, allocations: 2.326 MB / 1.587 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002765/1.677, allocations: 291.8 kB / 1.587 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001875/1.679, allocations: 391.9 kB / 1.587 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01666/1.695, allocations: 6.43 MB / 1.594 GB, free: 15.23 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001338/1.695, allocations: 4 kB / 1.594 GB, free: 15.22 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007765/1.696, allocations: 164 kB / 1.594 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005926/1.697, allocations: 318.6 kB / 1.594 GB, free: 14.75 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/1.71, allocations: 5.623 MB / 1.6 GB, free: 9.121 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.05235/1.762, allocations: 28.61 MB / 1.628 GB, free: 10.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/1.769, allocations: 3.219 MB / 1.631 GB, free: 6.746 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/1.772, allocations: 1.619 MB / 1.632 GB, free: 5.109 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/1.772, allocations: 126.3 kB / 1.633 GB, free: 4.969 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/1.772, allocations: 63.81 kB / 1.633 GB, free: 4.895 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 4.679e-06/1.772, allocations: 0 / 1.633 GB, free: 4.895 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.07631/1.849, allocations: 20.41 MB / 1.652 GB, free: 440 kB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/1.849, allocations: 239.5 kB / 1.653 GB, free: 152 kB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/1.852, allocations: 1.429 MB / 1.654 GB, free: 14.71 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005757/1.852, allocations: 61.7 kB / 1.654 GB, free: 14.64 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001465/1.854, allocations: 1.721 MB / 1.656 GB, free: 12.89 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.855, allocations: 0.7703 MB / 1.657 GB, free: 12.11 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005055/1.856, allocations: 60 kB / 1.657 GB, free: 12.05 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0003395/1.856, allocations: 436.5 kB / 1.657 GB, free: 11.62 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00341/1.859, allocations: 1.919 MB / 1.659 GB, free: 9.699 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004065/1.863, allocations: 3.034 MB / 1.662 GB, free: 6.156 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003989/1.867, allocations: 2.414 MB / 1.664 GB, free: 3.746 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.518e-05/1.868, allocations: 12 kB / 1.664 GB, free: 3.734 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01625/1.884, allocations: 7.452 MB / 1.672 GB, free: 12.26 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.00603/1.89, allocations: 14.11 MB / 1.685 GB, free: 13.04 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/1.89, allocations: 35.94 kB / 1.685 GB, free: 13.01 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02473/1.915, allocations: 5.912 MB / 1.691 GB, free: 7.082 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004621/1.919, allocations: 0.9242 MB / 1.692 GB, free: 6.156 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/1.941, allocations: 11.44 MB / 1.703 GB, free: 10.54 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/1.946, allocations: 0.5493 MB / 1.704 GB, free: 9.988 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/1.947, allocations: 199.9 kB / 1.704 GB, free: 9.793 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.947, allocations: 9.875 kB / 1.704 GB, free: 9.785 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01632/1.963, allocations: 6.808 MB / 1.711 GB, free: 2.969 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002218/1.964, allocations: 39.98 kB / 1.711 GB, free: 2.93 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009103/1.973, allocations: 2.615 MB / 1.713 GB, free: 316 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/1.978, allocations: 1.069 MB / 1.714 GB, free: 15.24 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/1.994, allocations: 9.326 MB / 1.723 GB, free: 5.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00451/1.999, allocations: 0.5029 MB / 1.724 GB, free: 5.266 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008764/2, allocations: 203.9 kB / 1.724 GB, free: 5.066 MB / 1.135 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.001275/2.001, allocations: 303.9 kB / 1.724 GB, free: 4.762 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/2.002, allocations: 189.8 kB / 1.725 GB, free: 4.574 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/2.016, allocations: 6.379 MB / 1.731 GB, free: 14.17 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/2.017, allocations: 28 kB / 1.731 GB, free: 14.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/2.017, allocations: 11.95 kB / 1.731 GB, free: 14.13 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.856e-05/2.017, allocations: 15.95 kB / 1.731 GB, free: 14.11 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/2.039, allocations: 11.71 MB / 1.742 GB, free: 2.223 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/2.039, allocations: 8 kB / 1.742 GB, free: 2.215 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/2.042, allocations: 0.6089 MB / 1.743 GB, free: 1.605 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7727/2.815, allocations: 5.722 MB / 1.748 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009804/2.816, allocations: 83.05 kB / 1.749 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/2.836, allocations: 11.1 MB / 1.759 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/2.836, allocations: 15.78 kB / 1.759 GB, free: 314.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/2.852, allocations: 6.909 MB / 1.766 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00269/2.854, allocations: 0.6812 MB / 1.767 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007587/2.855, allocations: 47.48 kB / 1.767 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004152/2.859, allocations: 476.9 kB / 1.767 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008528/2.86, allocations: 178.7 kB / 1.767 GB, free: 312.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003642/2.86, allocations: 123.7 kB / 1.768 GB, free: 312.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002493/2.863, allocations: 1.063 MB / 1.769 GB, free: 312.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.71e-07/2.863, allocations: 1.438 kB / 1.769 GB, free: 312.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008742/2.872, allocations: 1.654 MB / 1.77 GB, free: 312.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.0005617/2.872, allocations: 193.2 kB / 1.77 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.02143/2.894, allocations: 8.701 MB / 1.779 GB, free: 312.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.388e-05/2.894, allocations: 7.125 kB / 1.779 GB, free: 312.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007602/2.901, allocations: 2.877 MB / 1.782 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/2.904, allocations: 203.1 kB / 1.782 GB, free: 311.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/2.924, allocations: 7.704 MB / 1.789 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002815/2.927, allocations: 2.934 MB / 1.792 GB, free: 309.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00536/2.933, allocations: 1.813 MB / 1.794 GB, free: 309.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/2.933, allocations: 158.1 kB / 1.794 GB, free: 309.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.954e-06/2.933, allocations: 0 / 1.794 GB, free: 309.8 MB / 1.151 GB Notification: Performance of Templates: time 0.07349/3.007, allocations: 53.75 MB / 1.847 GB, free: 307.7 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches