Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 390.5 MB / 398 MB, free: 10.94 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.001206/0.001206, allocations: 160.9 kB / 491.2 MB, free: 1.598 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.734/1.734, allocations: 221.5 MB / 0.7868 GB, free: 13.39 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.001142/0.001142, allocations: 91.95 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.688e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.321, allocations: 177.3 MB / 1.385 GB, free: 16.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/1.321, allocations: 91.94 kB / 1.386 GB, free: 16.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4049/1.726, allocations: 160.7 MB / 1.542 GB, free: 4.664 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.654e-06/1.726, allocations: 4 kB / 1.542 GB, free: 4.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003214/1.727, allocations: 83.98 kB / 1.543 GB, free: 4.578 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01067/1.737, allocations: 2.894 MB / 1.545 GB, free: 1.629 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.737, allocations: 8.031 kB / 1.545 GB, free: 1.621 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006972/1.744, allocations: 0.9711 MB / 1.546 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006118/1.751, allocations: 2.275 MB / 1.549 GB, free: 14.31 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/1.751, allocations: 104 kB / 1.549 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/1.752, allocations: 184 kB / 1.549 GB, free: 14.03 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008495/1.761, allocations: 3.645 MB / 1.552 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/1.774, allocations: 5.15 MB / 1.557 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/1.774, allocations: 7.938 kB / 1.557 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009609/1.775, allocations: 11.94 kB / 1.557 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006235/1.776, allocations: 322.3 kB / 1.558 GB, free: 4.562 MB / 0.9636 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.0361/1.812, allocations: 28.37 MB / 1.585 GB, free: 5.492 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/1.814, allocations: 1.416 MB / 1.587 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/1.816, allocations: 1.453 MB / 1.588 GB, free: 2.613 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-05/1.816, allocations: 21.28 kB / 1.588 GB, free: 2.594 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/1.816, allocations: 47.88 kB / 1.588 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.457e-06/1.816, allocations: 0 / 1.588 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.03617/1.852, allocations: 13.55 MB / 1.602 GB, free: 4.973 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.852, allocations: 73.41 kB / 1.602 GB, free: 4.891 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.854, allocations: 1.042 MB / 1.603 GB, free: 3.844 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000279/1.854, allocations: 25.7 kB / 1.603 GB, free: 3.812 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/1.855, allocations: 1.519 MB / 1.604 GB, free: 2.273 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/1.856, allocations: 0.5889 MB / 1.605 GB, free: 1.676 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.856, allocations: 0 / 1.605 GB, free: 1.676 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001941/1.857, allocations: 389.8 kB / 1.605 GB, free: 1.289 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/1.859, allocations: 1.749 MB / 1.607 GB, free: 15.54 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/1.862, allocations: 2.248 MB / 1.609 GB, free: 13.08 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003789/1.865, allocations: 2.277 MB / 1.611 GB, free: 10.8 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.865, allocations: 4 kB / 1.611 GB, free: 10.8 MB / 1.026 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01444/1.88, allocations: 7.407 MB / 1.618 GB, free: 3.355 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.88, allocations: 12 kB / 1.618 GB, free: 3.344 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/1.88, allocations: 20 kB / 1.618 GB, free: 3.324 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/1.892, allocations: 4.059 MB / 1.622 GB, free: 15.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.893, allocations: 295.5 kB / 1.623 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03016/1.924, allocations: 19.7 MB / 1.642 GB, free: 10.83 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/1.926, allocations: 107.7 kB / 1.642 GB, free: 10.73 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006644/1.927, allocations: 179.8 kB / 1.642 GB, free: 10.55 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 6} * Non-linear torn systems: 3 {12 12,6 12,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007832/1.928, allocations: 148.5 kB / 1.642 GB, free: 10.4 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007059/1.928, allocations: 189.7 kB / 1.643 GB, free: 10.21 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01544/1.944, allocations: 7.409 MB / 1.65 GB, free: 2.758 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-05/1.944, allocations: 20 kB / 1.65 GB, free: 2.738 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.622e-05/1.944, allocations: 12 kB / 1.65 GB, free: 2.727 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/1.944, allocations: 7.969 kB / 1.65 GB, free: 2.719 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.967, allocations: 11.38 MB / 1.661 GB, free: 7.164 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.967, allocations: 4 kB / 1.661 GB, free: 7.16 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007866/1.968, allocations: 167.7 kB / 1.661 GB, free: 6.996 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/1.98, allocations: 3.979 MB / 1.665 GB, free: 3.004 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/1.981, allocations: 55.92 kB / 1.665 GB, free: 2.949 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02974/2.01, allocations: 19.32 MB / 1.684 GB, free: 15.18 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/2.01, allocations: 8.109 kB / 1.684 GB, free: 15.18 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/2.025, allocations: 7.664 MB / 1.691 GB, free: 7.195 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/2.027, allocations: 0.6975 MB / 1.692 GB, free: 6.477 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/2.027, allocations: 11.98 kB / 1.692 GB, free: 6.465 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/2.028, allocations: 99.78 kB / 1.692 GB, free: 6.367 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005459/2.029, allocations: 180.9 kB / 1.692 GB, free: 6.191 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/2.029, allocations: 147.9 kB / 1.692 GB, free: 6.047 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.00121/2.03, allocations: 0.7839 MB / 1.693 GB, free: 5.266 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.91e-07/2.03, allocations: 0 / 1.693 GB, free: 5.266 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.003024/2.033, allocations: 0.832 MB / 1.694 GB, free: 4.434 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 3 {6 6,6 12,12 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003783/2.034, allocations: 160.6 kB / 1.694 GB, free: 4.27 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01048/2.044, allocations: 5.667 MB / 1.7 GB, free: 14.57 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/2.044, allocations: 0 / 1.7 GB, free: 14.57 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.007752/2.052, allocations: 3.547 MB / 1.703 GB, free: 11 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/2.055, allocations: 422.5 kB / 1.704 GB, free: 10.58 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/2.065, allocations: 5.59 MB / 1.709 GB, free: 4.867 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002882/2.068, allocations: 2.738 MB / 1.712 GB, free: 2.094 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001328/2.07, allocations: 371.2 kB / 1.712 GB, free: 1.727 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/2.07, allocations: 87.44 kB / 1.712 GB, free: 1.641 MB / 1.12 GB Notification: Performance of SimCode: time 9.02e-07/2.07, allocations: 0 / 1.712 GB, free: 1.641 MB / 1.12 GB Notification: Performance of Templates: time 0.6609/2.731, allocations: 49 MB / 1.76 GB, free: 322.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches