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.ACLineMedium.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 183.8 kB / 326.5 MB, free: 2.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.95/1.95, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.0008511/0.000851, allocations: 96.48 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 7 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.264, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8432/1.107, allocations: 203.3 MB / 1.099 GB, free: 52.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/1.108, allocations: 100.4 kB / 1.099 GB, free: 52.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1961/1.304, allocations: 85.74 MB / 1.182 GB, free: 20.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/1.304, allocations: 0 / 1.182 GB, free: 20.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000223/1.304, allocations: 47.52 kB / 1.183 GB, free: 20.28 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006108/1.31, allocations: 1.863 MB / 1.184 GB, free: 18.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.31, allocations: 8.031 kB / 1.184 GB, free: 18.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.322, allocations: 1.968 MB / 1.186 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/1.328, allocations: 2.078 MB / 1.188 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/1.328, allocations: 85.81 kB / 1.188 GB, free: 14.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006352/1.329, allocations: 119.4 kB / 1.188 GB, free: 14.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006615/1.335, allocations: 2.73 MB / 1.191 GB, free: 12.44 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.156e-05/1.336, allocations: 7.938 kB / 1.191 GB, free: 12.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000311/1.336, allocations: 53.23 kB / 1.191 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/1.336, allocations: 92.73 kB / 1.191 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007501/1.343, allocations: 2.84 MB / 1.194 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/1.359, allocations: 10.73 MB / 1.205 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006359/1.365, allocations: 2.386 MB / 1.207 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.909e-05/1.366, allocations: 9 kB / 1.207 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/1.366, allocations: 54.45 kB / 1.207 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=89): time 2.735e-06/1.366, allocations: 3.938 kB / 1.207 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=153): time 0.06777/1.433, allocations: 17.34 MB / 1.224 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/1.434, allocations: 226.9 kB / 1.224 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/1.436, allocations: 1.016 MB / 1.225 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003846/1.436, allocations: 53.7 kB / 1.225 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007359/1.437, allocations: 0.7398 MB / 1.226 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007333/1.438, allocations: 0.5076 MB / 1.226 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.438, allocations: 28 kB / 1.226 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.438, allocations: 369.9 kB / 1.227 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003521/1.442, allocations: 1.538 MB / 1.228 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/1.445, allocations: 1.824 MB / 1.23 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/1.449, allocations: 1.661 MB / 1.232 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.449, allocations: 0 / 1.232 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01745/1.467, allocations: 5.405 MB / 1.237 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/1.467, allocations: 8 kB / 1.237 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/1.467, allocations: 8.75 kB / 1.237 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/1.479, allocations: 2.138 MB / 1.239 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/1.482, allocations: 419.2 kB / 1.239 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04608/1.528, allocations: 23.31 MB / 1.262 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.533, allocations: 323.5 kB / 1.262 GB, free: 5.289 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/1.533, allocations: 63.97 kB / 1.263 GB, free: 5.227 MB / 0.7605 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001668/1.535, allocations: 469.9 kB / 1.263 GB, free: 4.758 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008727/1.536, allocations: 173.9 kB / 1.263 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/1.56, allocations: 5.474 MB / 1.269 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/1.56, allocations: 20 kB / 1.269 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-05/1.56, allocations: 20 kB / 1.269 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.218e-05/1.56, allocations: 7.969 kB / 1.269 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02325/1.583, allocations: 7.679 MB / 1.276 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.583, allocations: 4 kB / 1.276 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.585, allocations: 367.6 kB / 1.276 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008228/1.593, allocations: 2.001 MB / 1.278 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/1.593, allocations: 39.97 kB / 1.278 GB, free: 4.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02883/1.622, allocations: 22.48 MB / 1.3 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.622, allocations: 4.469 kB / 1.3 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.637, allocations: 5.238 MB / 1.305 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.638, allocations: 0.5104 MB / 1.306 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/1.639, allocations: 35.95 kB / 1.306 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.641, allocations: 327.5 kB / 1.306 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005833/1.641, allocations: 152.9 kB / 1.306 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/1.642, allocations: 55.97 kB / 1.307 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001321/1.643, allocations: 0.7899 MB / 1.307 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.01e-07/1.643, allocations: 0 / 1.307 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002917/1.646, allocations: 0.7226 MB / 1.308 GB, free: 5.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000617/1.646, allocations: 223.9 kB / 1.308 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.658, allocations: 5.198 MB / 1.313 GB, free: 15.75 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.658, allocations: 4 kB / 1.313 GB, free: 15.75 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007597/1.666, allocations: 3.398 MB / 1.317 GB, free: 12.25 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.669, allocations: 0.4908 MB / 1.317 GB, free: 11.76 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008984/1.678, allocations: 4.876 MB / 1.322 GB, free: 6.836 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001489/1.679, allocations: 1.596 MB / 1.323 GB, free: 5.203 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001937/1.681, allocations: 406.6 kB / 1.324 GB, free: 4.801 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/1.682, allocations: 115.4 kB / 1.324 GB, free: 4.688 MB / 0.823 GB Notification: Performance of SimCode: time 1.483e-06/1.682, allocations: 4 kB / 1.324 GB, free: 4.684 MB / 0.823 GB Notification: Performance of Templates: time 0.08131/1.763, allocations: 44.24 MB / 1.367 GB, free: 8.836 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches