Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.521/2.521, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.002158/0.002159, allocations: 180.9 kB / 498.1 MB, free: 5.738 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.592/1.592, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0008647/0.0008647, allocations: 104.7 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005285/0.0005287, allocations: 10.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4007, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.6285, allocations: 175.9 MB / 1.395 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.6288, allocations: 99.94 kB / 1.395 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.799/1.428, allocations: 56.17 MB / 1.45 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.865e-06/1.428, allocations: 1.031 kB / 1.45 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001031/1.428, allocations: 27.47 kB / 1.45 GB, free: 183.1 MB / 0.9167 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.002969/1.431, allocations: 0.9582 MB / 1.451 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.431, allocations: 9.281 kB / 1.451 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/1.433, allocations: 216.5 kB / 1.451 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/1.435, allocations: 0.5466 MB / 1.451 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-05/1.435, allocations: 49.58 kB / 1.451 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/1.435, allocations: 68.8 kB / 1.451 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/1.437, allocations: 1.092 MB / 1.453 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.755e-05/1.437, allocations: 12.16 kB / 1.453 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/1.437, allocations: 33.39 kB / 1.453 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/1.437, allocations: 57.53 kB / 1.453 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/1.438, allocations: 0.6865 MB / 1.453 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005511/1.444, allocations: 5.779 MB / 1.459 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009886/1.445, allocations: 0.588 MB / 1.459 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/1.445, allocations: 3.781 kB / 1.46 GB, free: 176.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/1.445, allocations: 37.91 kB / 1.46 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/1.445, allocations: 7.938 kB / 1.46 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=42): time 0.004667/1.45, allocations: 1.907 MB / 1.461 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/1.45, allocations: 55.34 kB / 1.461 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/1.45, allocations: 399.7 kB / 1.462 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.45, allocations: 33.64 kB / 1.462 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/1.45, allocations: 382.5 kB / 1.462 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/1.45, allocations: 150.4 kB / 1.462 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/1.45, allocations: 11.88 kB / 1.462 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/1.451, allocations: 362.5 kB / 1.463 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/1.451, allocations: 233.9 kB / 1.463 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/1.451, allocations: 412.6 kB / 1.463 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/1.452, allocations: 294 kB / 1.464 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.452, allocations: 3.812 kB / 1.464 GB, free: 174.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001558/1.453, allocations: 0.9519 MB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.453, allocations: 8.438 kB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.453, allocations: 3.906 kB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/1.454, allocations: 284 kB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/1.454, allocations: 96.27 kB / 1.465 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004878/1.459, allocations: 6.757 MB / 1.472 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/1.46, allocations: 28.38 kB / 1.472 GB, free: 167.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/1.46, allocations: 27.91 kB / 1.472 GB, free: 167.8 MB / 0.9167 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 (51): * Single equations (assignments): 47 * 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%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004252/1.46, allocations: 241.8 kB / 1.472 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/1.46, allocations: 58.09 kB / 1.472 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/1.462, allocations: 0.8342 MB / 1.473 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.462, allocations: 3.719 kB / 1.473 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.462, allocations: 3.875 kB / 1.473 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.462, allocations: 0 / 1.473 GB, free: 167.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/1.465, allocations: 1.732 MB / 1.474 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.465, allocations: 0 / 1.474 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/1.465, allocations: 57.28 kB / 1.474 GB, free: 166.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007425/1.466, allocations: 246 kB / 1.475 GB, free: 166.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/1.466, allocations: 15.52 kB / 1.475 GB, free: 166.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/1.47, allocations: 6.471 MB / 1.481 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.47, allocations: 2.906 kB / 1.481 GB, free: 160.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/1.472, allocations: 0.9641 MB / 1.482 GB, free: 159.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/1.472, allocations: 174.5 kB / 1.482 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/1.472, allocations: 11.5 kB / 1.482 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/1.472, allocations: 21.88 kB / 1.482 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.472, allocations: 45.12 kB / 1.482 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/1.472, allocations: 14.41 kB / 1.482 GB, free: 159.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003057/1.473, allocations: 308 kB / 1.483 GB, free: 159.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.473, allocations: 0 / 1.483 GB, free: 159.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008976/1.474, allocations: 193.3 kB / 1.483 GB, free: 159.6 MB / 0.9167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * 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%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/1.474, allocations: 127.2 kB / 1.483 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001412/1.475, allocations: 1.125 MB / 1.484 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.475, allocations: 0 / 1.484 GB, free: 158.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008357/1.476, allocations: 0.7939 MB / 1.485 GB, free: 158.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007848/1.477, allocations: 181 kB / 1.485 GB, free: 158.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.479, allocations: 1.451 MB / 1.486 GB, free: 157.2 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/1.479, allocations: 1.007 MB / 1.487 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003147/1.479, allocations: 105.2 kB / 1.487 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/1.48, allocations: 37.47 kB / 1.487 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/1.48, allocations: 0 / 1.487 GB, free: 156.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.01509/1.495, allocations: 8.677 MB / 1.496 GB, free: 151.5 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches