Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 387.1 MB / 399.7 MB, free: 9.52 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 180.9 kB / 492.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009016, allocations: 87.95 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.995e-05/2.999e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3009, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.353, allocations: 221.1 MB / 1.428 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/1.353, allocations: 104.5 kB / 1.428 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3676/1.721, allocations: 124.6 MB / 1.55 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.413e-06/1.721, allocations: 0 / 1.55 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001114/1.721, allocations: 43.94 kB / 1.55 GB, free: 12.64 MB / 0.9636 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.003409/1.724, allocations: 1.654 MB / 1.552 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.724, allocations: 8.031 kB / 1.552 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01173/1.736, allocations: 1.956 MB / 1.554 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005744/1.742, allocations: 2.084 MB / 1.556 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/1.742, allocations: 82.31 kB / 1.556 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/1.742, allocations: 119.9 kB / 1.556 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/1.746, allocations: 2.221 MB / 1.558 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/1.746, allocations: 11.94 kB / 1.558 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/1.746, allocations: 51.98 kB / 1.558 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.746, allocations: 98.17 kB / 1.558 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/1.749, allocations: 1.859 MB / 1.56 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/1.767, allocations: 10.73 MB / 1.571 GB, free: 6.887 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/1.77, allocations: 1.5 MB / 1.572 GB, free: 5.355 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.771, allocations: 0.894 MB / 1.573 GB, free: 4.457 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.501e-05/1.771, allocations: 16.72 kB / 1.573 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/1.771, allocations: 47.34 kB / 1.573 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 3.667e-06/1.771, allocations: 0 / 1.573 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.05081/1.822, allocations: 13.67 MB / 1.586 GB, free: 6.656 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.822, allocations: 226.9 kB / 1.587 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/1.825, allocations: 1.003 MB / 1.588 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000257/1.825, allocations: 49.7 kB / 1.588 GB, free: 5.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007429/1.826, allocations: 0.736 MB / 1.588 GB, free: 4.578 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007107/1.826, allocations: 0.5198 MB / 1.589 GB, free: 4.051 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/1.827, allocations: 24 kB / 1.589 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.827, allocations: 361.9 kB / 1.589 GB, free: 3.668 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/1.829, allocations: 1.129 MB / 1.59 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.831, allocations: 1.409 MB / 1.592 GB, free: 1.031 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/1.833, allocations: 1.254 MB / 1.593 GB, free: 15.78 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.833, allocations: 4 kB / 1.593 GB, free: 15.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01117/1.844, allocations: 4.571 MB / 1.597 GB, free: 11.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/1.844, allocations: 8 kB / 1.597 GB, free: 11.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.844, allocations: 8 kB / 1.597 GB, free: 11.15 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008905/1.853, allocations: 2.135 MB / 1.599 GB, free: 8.992 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.855, allocations: 415.3 kB / 1.6 GB, free: 8.586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/1.885, allocations: 22.49 MB / 1.622 GB, free: 1.027 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003714/1.889, allocations: 327.5 kB / 1.622 GB, free: 0.707 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004526/1.89, allocations: 59.97 kB / 1.622 GB, free: 0.6484 MB / 1.026 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 (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.0006647/1.89, allocations: 186.2 kB / 1.622 GB, free: 472 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008452/1.891, allocations: 186 kB / 1.623 GB, free: 284 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/1.903, allocations: 4.649 MB / 1.627 GB, free: 11.58 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/1.903, allocations: 12 kB / 1.627 GB, free: 11.57 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-05/1.903, allocations: 23.95 kB / 1.627 GB, free: 11.55 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.511e-05/1.903, allocations: 7.969 kB / 1.627 GB, free: 11.54 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/1.92, allocations: 6.883 MB / 1.634 GB, free: 4.531 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.92, allocations: 0 / 1.634 GB, free: 4.531 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.922, allocations: 367.7 kB / 1.634 GB, free: 4.172 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008281/1.93, allocations: 1.981 MB / 1.636 GB, free: 2.168 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.93, allocations: 39.97 kB / 1.636 GB, free: 2.129 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02974/1.96, allocations: 21.67 MB / 1.657 GB, free: 11.4 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.96, allocations: 7.969 kB / 1.657 GB, free: 11.39 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/1.971, allocations: 4.423 MB / 1.662 GB, free: 6.801 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/1.973, allocations: 0.5027 MB / 1.662 GB, free: 6.277 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007012/1.973, allocations: 31.98 kB / 1.662 GB, free: 6.246 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.976, allocations: 327.7 kB / 1.662 GB, free: 5.926 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006431/1.977, allocations: 157 kB / 1.663 GB, free: 5.773 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/1.977, allocations: 59.95 kB / 1.663 GB, free: 5.715 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001651/1.979, allocations: 0.7729 MB / 1.663 GB, free: 4.941 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.11e-07/1.979, allocations: 0 / 1.663 GB, free: 4.941 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.003514/1.983, allocations: 0.7226 MB / 1.664 GB, free: 4.219 MB / 1.073 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 () * 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.0007459/1.983, allocations: 223.2 kB / 1.664 GB, free: 3.996 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008565/1.992, allocations: 4.342 MB / 1.669 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.992, allocations: 0 / 1.669 GB, free: 15.55 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005725/1.998, allocations: 2.959 MB / 1.671 GB, free: 12.48 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/2.001, allocations: 0.4958 MB / 1.672 GB, free: 12 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/2.008, allocations: 3.171 MB / 1.675 GB, free: 8.754 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/2.01, allocations: 1.6 MB / 1.677 GB, free: 7.117 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.00213/2.012, allocations: 406.6 kB / 1.677 GB, free: 6.715 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005235/2.013, allocations: 119.4 kB / 1.677 GB, free: 6.598 MB / 1.089 GB Notification: Performance of SimCode: time 1.313e-06/2.013, allocations: 0 / 1.677 GB, free: 6.598 MB / 1.089 GB Notification: Performance of Templates: time 0.07911/2.092, allocations: 44.28 MB / 1.72 GB, free: 10.73 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches