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.429/1.429, 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.0009905/0.0009905, allocations: 179.7 kB / 316.3 MB, free: 3.23 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.401/1.401, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0007897/0.0007898, allocations: 86.47 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.911e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7844/0.992, allocations: 203.5 MB / 1.084 GB, free: 1.598 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.9924, allocations: 97.34 kB / 1.084 GB, free: 1.547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2106/1.203, allocations: 84.83 MB / 1.167 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/1.203, allocations: 0 / 1.167 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001255/1.203, allocations: 51.92 kB / 1.167 GB, free: 4.973 MB / 0.7761 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.003941/1.207, allocations: 1.622 MB / 1.169 GB, free: 3.301 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.207, allocations: 8.031 kB / 1.169 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01256/1.22, allocations: 1.96 MB / 1.17 GB, free: 1.328 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00625/1.226, allocations: 2.059 MB / 1.172 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/1.226, allocations: 36 kB / 1.172 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/1.227, allocations: 79.91 kB / 1.173 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002855/1.229, allocations: 1.649 MB / 1.174 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003123/1.233, allocations: 2.049 MB / 1.176 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/1.233, allocations: 4 kB / 1.176 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/1.233, allocations: 11.95 kB / 1.176 GB, free: 11.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/1.233, allocations: 90.22 kB / 1.176 GB, free: 11.11 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/1.249, allocations: 10.44 MB / 1.186 GB, free: 88 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/1.252, allocations: 1.479 MB / 1.188 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.253, allocations: 0.8705 MB / 1.189 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/1.253, allocations: 12.78 kB / 1.189 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.253, allocations: 47.34 kB / 1.189 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.827e-06/1.253, allocations: 0 / 1.189 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01765/1.271, allocations: 6.907 MB / 1.196 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.271, allocations: 230.9 kB / 1.196 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/1.272, allocations: 0.809 MB / 1.197 GB, free: 5.598 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/1.272, allocations: 25.7 kB / 1.197 GB, free: 5.566 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/1.273, allocations: 0.7464 MB / 1.197 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/1.274, allocations: 0.4926 MB / 1.198 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/1.274, allocations: 0 / 1.198 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001868/1.274, allocations: 365.9 kB / 1.198 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.275, allocations: 1.097 MB / 1.199 GB, free: 2.848 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/1.277, allocations: 1.364 MB / 1.201 GB, free: 1.375 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/1.279, allocations: 1.268 MB / 1.202 GB, free: 112 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.279, allocations: 0 / 1.202 GB, free: 112 kB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01048/1.29, allocations: 4.447 MB / 1.206 GB, free: 11.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.758e-05/1.29, allocations: 8 kB / 1.206 GB, free: 11.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/1.29, allocations: 7.938 kB / 1.206 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008671/1.298, allocations: 2.08 MB / 1.208 GB, free: 9.508 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/1.301, allocations: 419.2 kB / 1.209 GB, free: 9.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02881/1.329, allocations: 21.75 MB / 1.23 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/1.333, allocations: 295.5 kB / 1.23 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004644/1.333, allocations: 67.95 kB / 1.23 GB, free: 2.078 MB / 0.8386 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.0006333/1.334, allocations: 128.8 kB / 1.23 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008121/1.335, allocations: 162.1 kB / 1.23 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/1.346, allocations: 4.519 MB / 1.235 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.84e-05/1.346, allocations: 16 kB / 1.235 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.532e-05/1.346, allocations: 20 kB / 1.235 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/1.346, allocations: 7.969 kB / 1.235 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.361, allocations: 6.56 MB / 1.241 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/1.361, allocations: 0 / 1.241 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/1.363, allocations: 363.4 kB / 1.242 GB, free: 6.164 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008048/1.371, allocations: 1.95 MB / 1.244 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002804/1.372, allocations: 23.92 kB / 1.244 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6104/1.982, allocations: 20.89 MB / 1.264 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/1.982, allocations: 3.656 kB / 1.264 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/1.993, allocations: 4.308 MB / 1.268 GB, free: 259.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.995, allocations: 0.4906 MB / 1.269 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/1.995, allocations: 5.391 kB / 1.269 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002456/1.997, allocations: 303.7 kB / 1.269 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006905/1.998, allocations: 153.4 kB / 1.269 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.998, allocations: 53.84 kB / 1.269 GB, free: 259.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00109/1.999, allocations: 0.6071 MB / 1.27 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.999, allocations: 0 / 1.27 GB, free: 259.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003455/2.003, allocations: 0.6283 MB / 1.27 GB, free: 259.1 MB / 0.8698 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.0006235/2.004, allocations: 184.4 kB / 1.271 GB, free: 259 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008522/2.012, allocations: 4.17 MB / 1.275 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/2.012, allocations: 7.969 kB / 1.275 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005078/2.017, allocations: 2.817 MB / 1.277 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/2.02, allocations: 441 kB / 1.278 GB, free: 257.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/2.027, allocations: 3.099 MB / 1.281 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/2.029, allocations: 1.609 MB / 1.282 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001964/2.031, allocations: 386.4 kB / 1.283 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/2.031, allocations: 109.8 kB / 1.283 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.012e-06/2.031, allocations: 0 / 1.283 GB, free: 255.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.07444/2.105, allocations: 40.84 MB / 1.323 GB, free: 254.1 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