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_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 249.5 MB / 257 MB, free: 6.934 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.00102/0.00102, allocations: 180.9 kB / 316.3 MB, free: 3.219 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.239/1.239, 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.000811/0.0008111, allocations: 97.52 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.38e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2356, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6804/0.916, allocations: 179.9 MB / 1.061 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.9164, allocations: 95.86 kB / 1.061 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.203/2.119, allocations: 317.8 MB / 1.371 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.424e-06/2.119, allocations: 0 / 1.371 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0007459/2.12, allocations: 169.6 kB / 1.372 GB, free: 190.6 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01978/2.14, allocations: 5.505 MB / 1.377 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/2.14, allocations: 10.69 kB / 1.377 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/2.154, allocations: 1.766 MB / 1.379 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/2.169, allocations: 5.029 MB / 1.384 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/2.169, allocations: 191.6 kB / 1.384 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003854/2.173, allocations: 360.6 kB / 1.384 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01662/2.19, allocations: 6.834 MB / 1.391 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02681/2.217, allocations: 8.986 MB / 1.4 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003841/2.217, allocations: 35.62 kB / 1.4 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002817/2.22, allocations: 15.94 kB / 1.4 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004386/2.22, allocations: 380.1 kB / 1.4 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05756/2.278, allocations: 45.11 MB / 1.444 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/2.283, allocations: 4.04 MB / 1.448 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00456/2.288, allocations: 3.446 MB / 1.451 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004201/2.288, allocations: 38.61 kB / 1.451 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/2.288, allocations: 77.34 kB / 1.451 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=353): time 5.731e-06/2.288, allocations: 0 / 1.451 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=578): time 0.09627/2.385, allocations: 37.31 MB / 1.488 GB, free: 76.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/2.385, allocations: 111.9 kB / 1.488 GB, free: 76.06 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003431/2.388, allocations: 1.828 MB / 1.49 GB, free: 74.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/2.389, allocations: 25.7 kB / 1.49 GB, free: 74.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001533/2.391, allocations: 2.712 MB / 1.492 GB, free: 71.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002483/2.394, allocations: 1.878 MB / 1.494 GB, free: 69.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/2.395, allocations: 3.938 kB / 1.494 GB, free: 69.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003682/2.395, allocations: 0.5259 MB / 1.495 GB, free: 69.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00501/2.4, allocations: 3.615 MB / 1.498 GB, free: 65.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00562/2.406, allocations: 4.689 MB / 1.503 GB, free: 60.28 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005831/2.411, allocations: 4.414 MB / 1.507 GB, free: 55.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.342e-05/2.411, allocations: 12 kB / 1.507 GB, free: 55.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.03368/2.445, allocations: 15.17 MB / 1.522 GB, free: 40.53 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.603e-05/2.445, allocations: 16 kB / 1.522 GB, free: 40.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-05/2.445, allocations: 35.91 kB / 1.522 GB, free: 40.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/2.469, allocations: 7.304 MB / 1.529 GB, free: 33.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002772/2.471, allocations: 0.5576 MB / 1.53 GB, free: 32.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6936/3.165, allocations: 65.15 MB / 1.593 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/3.171, allocations: 129.8 kB / 1.594 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001181/3.172, allocations: 201.8 kB / 1.594 GB, free: 175.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001005/3.173, allocations: 187.9 kB / 1.594 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/3.174, allocations: 452.2 kB / 1.594 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03599/3.21, allocations: 15.16 MB / 1.609 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/3.21, allocations: 55 kB / 1.609 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002512/3.21, allocations: 71.66 kB / 1.609 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001629/3.211, allocations: 30.5 kB / 1.609 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05611/3.267, allocations: 22.28 MB / 1.631 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.94e-05/3.267, allocations: 10.47 kB / 1.631 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/3.269, allocations: 321.5 kB / 1.631 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02082/3.29, allocations: 6.734 MB / 1.638 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001373/3.291, allocations: 18.47 kB / 1.638 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.079/3.37, allocations: 62.23 MB / 1.699 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/3.37, allocations: 13.72 kB / 1.699 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03971/3.41, allocations: 20.16 MB / 1.718 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004129/3.414, allocations: 1.241 MB / 1.72 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002215/3.416, allocations: 30.56 kB / 1.72 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004801/3.421, allocations: 141.9 kB / 1.72 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003037/3.424, allocations: 0.5182 MB / 1.72 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001122/3.425, allocations: 135.8 kB / 1.72 GB, free: 134 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003349/3.429, allocations: 1.333 MB / 1.722 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/3.429, allocations: 0 / 1.722 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01264/3.441, allocations: 2.012 MB / 1.724 GB, free: 133.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001487/3.443, allocations: 147.6 kB / 1.724 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02634/3.469, allocations: 13.01 MB / 1.737 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/3.469, allocations: 0 / 1.737 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01872/3.488, allocations: 8.49 MB / 1.745 GB, free: 122.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007165/3.495, allocations: 0.9846 MB / 1.746 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/3.53, allocations: 12.67 MB / 1.758 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009394/3.539, allocations: 5.014 MB / 1.763 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003962/3.543, allocations: 0.7279 MB / 1.764 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008436/3.544, allocations: 187.2 kB / 1.764 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/3.544, allocations: 3 kB / 1.764 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.1843/3.728, allocations: 119.9 MB / 1.881 GB, free: 6.305 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches