Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.3 MB / 261.8 MB, free: 5.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009419/0.0009419, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 0.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000935/0.0009349, allocations: 107.3 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.759e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1739, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7088/0.8827, allocations: 178.6 MB / 1.066 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/0.8832, allocations: 98.67 kB / 1.066 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.122/2.005, allocations: 267.4 MB / 1.327 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/2.005, allocations: 0 / 1.327 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003318/2.006, allocations: 145.9 kB / 1.328 GB, free: 205.3 MB / 0.8698 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.01528/2.021, allocations: 4.632 MB / 1.332 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/2.021, allocations: 7.75 kB / 1.332 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/2.033, allocations: 1.487 MB / 1.334 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/2.046, allocations: 4.214 MB / 1.338 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/2.046, allocations: 378.4 kB / 1.338 GB, free: 202.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/2.048, allocations: 0.499 MB / 1.339 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/2.062, allocations: 8.284 MB / 1.347 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/2.062, allocations: 27.97 kB / 1.347 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005933/2.063, allocations: 228.6 kB / 1.347 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/2.063, allocations: 328.8 kB / 1.347 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/2.074, allocations: 6.334 MB / 1.353 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04167/2.115, allocations: 40 MB / 1.392 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/2.119, allocations: 2.79 MB / 1.395 GB, free: 170.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002815/2.122, allocations: 2.547 MB / 1.398 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/2.122, allocations: 26.84 kB / 1.398 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.899e-05/2.122, allocations: 66.16 kB / 1.398 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=265): time 5.46e-06/2.122, allocations: 3.938 kB / 1.398 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=424): time 0.2257/2.348, allocations: 60.07 MB / 1.456 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/2.348, allocations: 94.73 kB / 1.456 GB, free: 135.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003756/2.351, allocations: 1.905 MB / 1.458 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.001504/2.353, allocations: 101.6 kB / 1.458 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/2.355, allocations: 2.333 MB / 1.461 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00218/2.357, allocations: 1.442 MB / 1.462 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/2.357, allocations: 84 kB / 1.462 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000213/2.357, allocations: 487.4 kB / 1.463 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003367/2.361, allocations: 2.73 MB / 1.465 GB, free: 126.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/2.364, allocations: 3.688 MB / 1.469 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00374/2.368, allocations: 3.334 MB / 1.472 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/2.368, allocations: 8 kB / 1.472 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02217/2.39, allocations: 11.69 MB / 1.484 GB, free: 107 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/2.39, allocations: 19.95 kB / 1.484 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/2.391, allocations: 28 kB / 1.484 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01561/2.406, allocations: 4.992 MB / 1.489 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/2.408, allocations: 0.5069 MB / 1.489 GB, free: 101.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05989/2.468, allocations: 64.69 MB / 1.552 GB, free: 33.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/2.473, allocations: 183.9 kB / 1.552 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006667/2.474, allocations: 175.2 kB / 1.553 GB, free: 33.24 MB / 0.8698 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 () * 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.0008216/2.474, allocations: 340.2 kB / 1.553 GB, free: 32.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007802/2.475, allocations: 387.4 kB / 1.553 GB, free: 32.52 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02259/2.498, allocations: 11.47 MB / 1.564 GB, free: 20.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/2.498, allocations: 40 kB / 1.564 GB, free: 20.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.607e-05/2.498, allocations: 52 kB / 1.565 GB, free: 20.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.333e-05/2.498, allocations: 20.58 kB / 1.565 GB, free: 20.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03188/2.53, allocations: 17.82 MB / 1.582 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/2.53, allocations: 8 kB / 1.582 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/2.532, allocations: 300.4 kB / 1.582 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01457/2.546, allocations: 4.49 MB / 1.587 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/2.547, allocations: 76 kB / 1.587 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5935/3.14, allocations: 62.21 MB / 1.647 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/3.14, allocations: 11.34 kB / 1.647 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03543/3.176, allocations: 15.17 MB / 1.662 GB, free: 171.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002788/3.179, allocations: 0.9691 MB / 1.663 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008128/3.18, allocations: 87.64 kB / 1.663 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002555/3.182, allocations: 175.8 kB / 1.663 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/3.184, allocations: 399.4 kB / 1.664 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/3.184, allocations: 107.4 kB / 1.664 GB, free: 171.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002014/3.186, allocations: 1.434 MB / 1.665 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.62e-07/3.186, allocations: 2.281 kB / 1.665 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007383/3.193, allocations: 1.754 MB / 1.667 GB, free: 171.4 MB / 0.8855 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 () * 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.0006912/3.194, allocations: 222.6 kB / 1.667 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01673/3.211, allocations: 11.45 MB / 1.678 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/3.211, allocations: 3.719 kB / 1.678 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01242/3.223, allocations: 7.954 MB / 1.686 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/3.228, allocations: 0.9707 MB / 1.687 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/3.243, allocations: 9.958 MB / 1.697 GB, free: 162 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004106/3.247, allocations: 4.189 MB / 1.701 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002466/3.249, allocations: 0.6701 MB / 1.702 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/3.25, allocations: 178.3 kB / 1.702 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/3.25, allocations: 0 / 1.702 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.1391/3.389, allocations: 94.86 MB / 1.794 GB, free: 130.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches