Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.5 MB / 257 MB, free: 7 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.001091/0.001091, allocations: 176 kB / 316.3 MB, free: 3.227 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.59/1.59, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008508/0.0008507, allocations: 89.78 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.389e-05/1.39e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6173/0.7842, allocations: 158.3 MB / 1.04 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.7844, allocations: 89.56 kB / 1.04 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08649/0.8709, allocations: 37.13 MB / 1.076 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.871, allocations: 0 / 1.076 GB, free: 14.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.535e-05/0.871, allocations: 20 kB / 1.076 GB, free: 14.18 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001335/0.8724, allocations: 0.8704 MB / 1.077 GB, free: 13.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.8724, allocations: 12.02 kB / 1.077 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.8738, allocations: 210.8 kB / 1.077 GB, free: 13.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.8747, allocations: 0.546 MB / 1.078 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.8747, allocations: 23.94 kB / 1.078 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.8748, allocations: 43.59 kB / 1.078 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008045/0.8757, allocations: 0.5457 MB / 1.078 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.8772, allocations: 0.9847 MB / 1.079 GB, free: 11.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.8772, allocations: 7.938 kB / 1.079 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.8773, allocations: 4 kB / 1.079 GB, free: 11.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.05e-05/0.8774, allocations: 56.41 kB / 1.079 GB, free: 11.17 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.882, allocations: 5.632 MB / 1.085 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007315/0.8827, allocations: 0.5778 MB / 1.085 GB, free: 5.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005681/0.8833, allocations: 386 kB / 1.086 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.8834, allocations: 4 kB / 1.086 GB, free: 4.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.8834, allocations: 41.38 kB / 1.086 GB, free: 4.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 1.824e-06/0.8834, allocations: 0 / 1.086 GB, free: 4.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001951/0.8854, allocations: 1.158 MB / 1.087 GB, free: 3.934 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.8854, allocations: 55.41 kB / 1.087 GB, free: 3.867 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.8857, allocations: 336.4 kB / 1.087 GB, free: 3.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.8858, allocations: 25.7 kB / 1.087 GB, free: 3.562 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.886, allocations: 383.5 kB / 1.088 GB, free: 3.262 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.8861, allocations: 142.6 kB / 1.088 GB, free: 3.137 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.8861, allocations: 3.938 kB / 1.088 GB, free: 3.133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8863, allocations: 359.9 kB / 1.088 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.8866, allocations: 226.7 kB / 1.088 GB, free: 2.656 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.887, allocations: 401.6 kB / 1.089 GB, free: 2.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.8873, allocations: 290.5 kB / 1.089 GB, free: 2.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8873, allocations: 4 kB / 1.089 GB, free: 2.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001511/0.8888, allocations: 0.9348 MB / 1.09 GB, free: 1.336 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.8889, allocations: 8 kB / 1.09 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.8889, allocations: 16.06 kB / 1.09 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008914/0.8898, allocations: 315.9 kB / 1.09 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.8901, allocations: 83.89 kB / 1.09 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006266/0.8964, allocations: 6.834 MB / 1.097 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/0.8968, allocations: 15.92 kB / 1.097 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.8969, allocations: 23.25 kB / 1.097 GB, free: 10.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.897, allocations: 128.5 kB / 1.097 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.8971, allocations: 59.3 kB / 1.097 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.8987, allocations: 0.8417 MB / 1.098 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.8987, allocations: 7.984 kB / 1.098 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.8987, allocations: 8 kB / 1.098 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.8987, allocations: 0 / 1.098 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.9012, allocations: 1.714 MB / 1.1 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.9012, allocations: 4 kB / 1.1 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.9014, allocations: 48.03 kB / 1.1 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008085/0.9022, allocations: 272.6 kB / 1.1 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.9023, allocations: 3.938 kB / 1.1 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/0.9085, allocations: 6.563 MB / 1.107 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.9085, allocations: 4.031 kB / 1.107 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.9101, allocations: 0.9699 MB / 1.108 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.9104, allocations: 168.4 kB / 1.108 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.9104, allocations: 4 kB / 1.108 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.9107, allocations: 11.97 kB / 1.108 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.135e-05/0.9108, allocations: 39.95 kB / 1.108 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.9108, allocations: 12 kB / 1.108 GB, free: 108 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002843/0.9111, allocations: 251 kB / 1.108 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9111, allocations: 0 / 1.108 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008379/0.912, allocations: 179.9 kB / 1.108 GB, free: 15.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.9121, allocations: 111.2 kB / 1.108 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001568/0.9137, allocations: 1.082 MB / 1.109 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.9137, allocations: 0 / 1.109 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.9148, allocations: 0.7722 MB / 1.11 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.9156, allocations: 163.5 kB / 1.11 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.9171, allocations: 0.8711 MB / 1.111 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.9177, allocations: 1 MB / 1.112 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002811/0.9179, allocations: 96.94 kB / 1.112 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.997e-05/0.918, allocations: 39.44 kB / 1.112 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/0.918, allocations: 0 / 1.112 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.0142/0.9322, allocations: 8.125 MB / 1.12 GB, free: 3.344 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches