Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001028/0.001028, allocations: 174.7 kB / 0.4902 GB, free: 2.227 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.645/1.645, allocations: 223.2 MB / 0.7992 GB, free: 15.63 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.001011/0.001011, allocations: 98.06 kB / 0.9396 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 9.641 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3178, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9706/1.288, allocations: 197.5 MB / 1.422 GB, free: 175.2 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/1.289, allocations: 97.5 kB / 1.422 GB, free: 175.2 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7661/2.055, allocations: 326.3 MB / 1.741 GB, free: 6.258 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.455e-06/2.055, allocations: 0 / 1.741 GB, free: 6.258 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0006018/2.056, allocations: 151.8 kB / 1.741 GB, free: 6.109 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02294/2.079, allocations: 5.178 MB / 1.746 GB, free: 0.8594 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/2.079, allocations: 12.56 kB / 1.746 GB, free: 0.8477 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/2.093, allocations: 1.491 MB / 1.748 GB, free: 15.34 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/2.111, allocations: 4.234 MB / 1.752 GB, free: 11.03 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/2.112, allocations: 382.1 kB / 1.752 GB, free: 10.66 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003571/2.115, allocations: 0.504 MB / 1.753 GB, free: 10.15 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03079/2.146, allocations: 8.376 MB / 1.761 GB, free: 1.316 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004735/2.147, allocations: 31.72 kB / 1.761 GB, free: 1.285 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003393/2.15, allocations: 224 kB / 1.761 GB, free: 1.066 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005375/2.151, allocations: 330 kB / 1.761 GB, free: 0.7422 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/2.17, allocations: 6.445 MB / 1.768 GB, free: 10.28 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07213/2.242, allocations: 40.01 MB / 1.807 GB, free: 15.04 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/2.247, allocations: 2.816 MB / 1.809 GB, free: 12.21 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003801/2.248, allocations: 26.09 kB / 1.809 GB, free: 12.18 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/2.248, allocations: 64.58 kB / 1.809 GB, free: 12.11 MB / 1.12 GB Notification: Performance of pre-optimization done (n=265): time 4.208e-06/2.248, allocations: 0 / 1.809 GB, free: 12.11 MB / 1.12 GB Notification: Performance of matching and sorting (n=424): time 0.9904/3.238, allocations: 64.89 MB / 1.873 GB, free: 228.6 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/3.238, allocations: 97.2 kB / 1.873 GB, free: 228.6 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004586/3.243, allocations: 1.93 MB / 1.875 GB, free: 228.4 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/3.244, allocations: 93.33 kB / 1.875 GB, free: 228.3 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.001843/3.246, allocations: 2.35 MB / 1.877 GB, free: 227.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.00233/3.248, allocations: 1.431 MB / 1.879 GB, free: 226.8 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008476/3.249, allocations: 86.94 kB / 1.879 GB, free: 226.8 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0003236/3.249, allocations: 492.4 kB / 1.879 GB, free: 226.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/3.254, allocations: 2.778 MB / 1.882 GB, free: 226.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004953/3.259, allocations: 3.736 MB / 1.886 GB, free: 225.4 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005076/3.264, allocations: 3.367 MB / 1.889 GB, free: 225.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/3.264, allocations: 6.781 kB / 1.889 GB, free: 225.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02869/3.292, allocations: 11.78 MB / 1.9 GB, free: 224.7 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 7.429e-05/3.293, allocations: 19.28 kB / 1.9 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.715e-05/3.293, allocations: 27.25 kB / 1.9 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01958/3.312, allocations: 5.016 MB / 1.905 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/3.315, allocations: 0.5069 MB / 1.906 GB, free: 224.4 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0736/3.389, allocations: 66.87 MB / 1.971 GB, free: 188.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005026/3.394, allocations: 187.5 kB / 1.971 GB, free: 188.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/3.395, allocations: 174 kB / 1.971 GB, free: 188.7 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006478/3.402, allocations: 2.002 MB / 1.973 GB, free: 187.9 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/3.404, allocations: 388.2 kB / 1.974 GB, free: 187.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02921/3.433, allocations: 11.55 MB / 1.985 GB, free: 183.1 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-05/3.433, allocations: 47.72 kB / 1.985 GB, free: 183.1 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002082/3.433, allocations: 47.72 kB / 1.985 GB, free: 183.1 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.169e-05/3.434, allocations: 25.36 kB / 1.985 GB, free: 183.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04342/3.477, allocations: 17.89 MB / 2.003 GB, free: 176.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-05/3.477, allocations: 6.031 kB / 2.003 GB, free: 176.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/3.479, allocations: 290.6 kB / 2.003 GB, free: 176.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01621/3.495, allocations: 4.508 MB / 2.007 GB, free: 174.9 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001047/3.496, allocations: 85.64 kB / 2.007 GB, free: 174.8 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06961/3.566, allocations: 64.41 MB / 2.07 GB, free: 128.4 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/3.566, allocations: 13.3 kB / 2.07 GB, free: 128.4 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03002/3.596, allocations: 15.29 MB / 2.085 GB, free: 119.3 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003773/3.6, allocations: 0.9718 MB / 2.086 GB, free: 118.4 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001722/3.602, allocations: 76 kB / 2.086 GB, free: 118.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/3.605, allocations: 185.2 kB / 2.086 GB, free: 118.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002021/3.607, allocations: 396 kB / 2.087 GB, free: 117.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006565/3.608, allocations: 108 kB / 2.087 GB, free: 117.8 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.002212/3.61, allocations: 1.462 MB / 2.088 GB, free: 116.6 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.9e-07/3.61, allocations: 0 / 2.088 GB, free: 116.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.008575/3.619, allocations: 1.772 MB / 2.09 GB, free: 114.8 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008704/3.62, allocations: 232.1 kB / 2.09 GB, free: 114.6 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02002/3.64, allocations: 11.63 MB / 2.102 GB, free: 104 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.499e-05/3.64, allocations: 0 / 2.102 GB, free: 104 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.01462/3.654, allocations: 8.094 MB / 2.11 GB, free: 96.55 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006206/3.661, allocations: 0.9664 MB / 2.11 GB, free: 95.81 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/3.687, allocations: 14.1 MB / 2.124 GB, free: 83 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007395/3.694, allocations: 4.19 MB / 2.128 GB, free: 79.82 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.003198/3.698, allocations: 0.6626 MB / 2.129 GB, free: 79.36 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007657/3.698, allocations: 179.3 kB / 2.129 GB, free: 79.19 MB / 1.135 GB Notification: Performance of SimCode: time 1.142e-06/3.698, allocations: 0 / 2.129 GB, free: 79.19 MB / 1.135 GB Notification: Performance of Templates: time 0.1419/3.84, allocations: 94.96 MB / 2.222 GB, free: 9.645 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches