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.58/1.58, allocations: 249.5 MB / 257 MB, free: 6.871 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.001145/0.001145, allocations: 172.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009972/0.0009972, allocations: 81.94 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.455e-05/1.458e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2008, allocations: 106.3 MB / 0.8852 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6997/0.9006, allocations: 178.9 MB / 1.06 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.9009, allocations: 93.94 kB / 1.06 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.15/2.051, allocations: 266.3 MB / 1.32 GB, free: 198 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.944e-06/2.051, allocations: 0 / 1.32 GB, free: 198 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004497/2.052, allocations: 145.3 kB / 1.32 GB, free: 197.9 MB / 0.8542 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.01677/2.068, allocations: 4.633 MB / 1.325 GB, free: 196 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/2.069, allocations: 7.344 kB / 1.325 GB, free: 196 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/2.081, allocations: 1.481 MB / 1.326 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/2.093, allocations: 4.212 MB / 1.33 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002962/2.094, allocations: 164.7 kB / 1.33 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/2.096, allocations: 298.2 kB / 1.331 GB, free: 194.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01358/2.11, allocations: 5.576 MB / 1.336 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/2.13, allocations: 7.539 MB / 1.344 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/2.131, allocations: 28.47 kB / 1.344 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/2.133, allocations: 22.83 kB / 1.344 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003806/2.133, allocations: 324.4 kB / 1.344 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/2.176, allocations: 38.91 MB / 1.382 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/2.179, allocations: 2.712 MB / 1.385 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002994/2.182, allocations: 2.473 MB / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/2.183, allocations: 28.19 kB / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/2.183, allocations: 61.09 kB / 1.387 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 4.829e-06/2.183, allocations: 0 / 1.387 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.06456/2.247, allocations: 27.36 MB / 1.414 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/2.247, allocations: 98.67 kB / 1.414 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0031/2.25, allocations: 1.629 MB / 1.415 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008108/2.251, allocations: 25.7 kB / 1.415 GB, free: 146.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/2.253, allocations: 2.369 MB / 1.418 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/2.254, allocations: 1.381 MB / 1.419 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006703/2.255, allocations: 0 / 1.419 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002771/2.255, allocations: 483.1 kB / 1.42 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00365/2.259, allocations: 2.647 MB / 1.422 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003908/2.263, allocations: 3.578 MB / 1.426 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/2.267, allocations: 3.23 MB / 1.429 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.348e-05/2.267, allocations: 12 kB / 1.429 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02294/2.29, allocations: 11.15 MB / 1.44 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/2.29, allocations: 21.5 kB / 1.44 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.055e-05/2.29, allocations: 24.84 kB / 1.44 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/2.306, allocations: 4.901 MB / 1.445 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/2.308, allocations: 0.5031 MB / 1.445 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05966/2.368, allocations: 62.28 MB / 1.506 GB, free: 53.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004921/2.373, allocations: 95.86 kB / 1.506 GB, free: 53.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001346/2.374, allocations: 164 kB / 1.506 GB, free: 53.61 MB / 0.8542 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.001873/2.376, allocations: 188.2 kB / 1.506 GB, free: 53.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/2.378, allocations: 371.6 kB / 1.507 GB, free: 53.05 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/2.402, allocations: 11 MB / 1.517 GB, free: 41.95 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/2.402, allocations: 44 kB / 1.517 GB, free: 41.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001489/2.402, allocations: 53.45 kB / 1.518 GB, free: 41.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/2.402, allocations: 19.92 kB / 1.518 GB, free: 41.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03533/2.437, allocations: 16.53 MB / 1.534 GB, free: 25.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/2.438, allocations: 4 kB / 1.534 GB, free: 25.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/2.439, allocations: 303.8 kB / 1.534 GB, free: 24.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/2.454, allocations: 4.419 MB / 1.538 GB, free: 20.37 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006468/2.454, allocations: 19.95 kB / 1.538 GB, free: 20.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5905/3.045, allocations: 60 MB / 1.597 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-05/3.045, allocations: 11.94 kB / 1.597 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02781/3.073, allocations: 14.7 MB / 1.611 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/3.075, allocations: 0.9527 MB / 1.612 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00052/3.076, allocations: 16.25 kB / 1.612 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/3.078, allocations: 110.9 kB / 1.612 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001492/3.079, allocations: 408 kB / 1.613 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/3.08, allocations: 106 kB / 1.613 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002145/3.082, allocations: 1.19 MB / 1.614 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/3.082, allocations: 0 / 1.614 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00723/3.089, allocations: 1.535 MB / 1.615 GB, free: 175.4 MB / 0.8698 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.000505/3.09, allocations: 152.2 kB / 1.616 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01688/3.106, allocations: 10.95 MB / 1.626 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/3.107, allocations: 0 / 1.626 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01233/3.119, allocations: 7.598 MB / 1.634 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005281/3.124, allocations: 0.8756 MB / 1.635 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/3.142, allocations: 9.752 MB / 1.644 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005365/3.147, allocations: 4.188 MB / 1.648 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002741/3.15, allocations: 0.6496 MB / 1.649 GB, free: 167 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/3.151, allocations: 168.2 kB / 1.649 GB, free: 167 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/3.151, allocations: 0 / 1.649 GB, free: 167 MB / 0.8698 GB Notification: Performance of Templates: time 0.1292/3.28, allocations: 90.42 MB / 1.737 GB, free: 143.5 MB / 0.8698 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