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.541/2.541, allocations: 387.4 MB / 394.9 MB, free: 13.36 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: 184.6 kB / 487.4 MB, free: 5.055 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.523/1.523, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 95.84 kB / 0.9219 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.701e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3186, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.478, allocations: 220.5 MB / 1.421 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.478, allocations: 100.2 kB / 1.421 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3107/1.789, allocations: 124.1 MB / 1.543 GB, free: 6.035 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.703e-06/1.789, allocations: 3.938 kB / 1.543 GB, free: 6.031 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002224/1.789, allocations: 44 kB / 1.543 GB, free: 5.988 MB / 0.948 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.005186/1.795, allocations: 1.646 MB / 1.544 GB, free: 4.293 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.795, allocations: 8.031 kB / 1.544 GB, free: 4.285 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/1.807, allocations: 1.952 MB / 1.546 GB, free: 2.328 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007147/1.814, allocations: 2.076 MB / 1.548 GB, free: 200 kB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/1.814, allocations: 36 kB / 1.548 GB, free: 164 kB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002995/1.815, allocations: 71.91 kB / 1.548 GB, free: 92 kB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003038/1.818, allocations: 1.656 MB / 1.55 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/1.821, allocations: 2.049 MB / 1.552 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/1.821, allocations: 4 kB / 1.552 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/1.821, allocations: 7.953 kB / 1.552 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.821, allocations: 94.28 kB / 1.552 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/1.837, allocations: 10.44 MB / 1.562 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/1.839, allocations: 1.486 MB / 1.564 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/1.841, allocations: 0.8673 MB / 1.564 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.798e-05/1.841, allocations: 12.78 kB / 1.564 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/1.841, allocations: 51.3 kB / 1.565 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 3.146e-06/1.841, allocations: 0 / 1.565 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01711/1.858, allocations: 6.888 MB / 1.571 GB, free: 7.695 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/1.858, allocations: 222.9 kB / 1.571 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/1.859, allocations: 0.8091 MB / 1.572 GB, free: 6.609 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000357/1.86, allocations: 25.7 kB / 1.572 GB, free: 6.578 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000632/1.86, allocations: 0.7503 MB / 1.573 GB, free: 5.816 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000588/1.861, allocations: 0.5041 MB / 1.573 GB, free: 5.305 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/1.861, allocations: 0 / 1.573 GB, free: 5.305 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.861, allocations: 361.9 kB / 1.574 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.863, allocations: 1.097 MB / 1.575 GB, free: 3.848 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/1.865, allocations: 1.368 MB / 1.576 GB, free: 2.375 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/1.867, allocations: 1.263 MB / 1.577 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.867, allocations: 0 / 1.577 GB, free: 1.109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01047/1.877, allocations: 4.439 MB / 1.582 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.877, allocations: 16.11 kB / 1.582 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.877, allocations: 4 kB / 1.582 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008386/1.886, allocations: 2.067 MB / 1.584 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.888, allocations: 427.2 kB / 1.584 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0293/1.917, allocations: 21.74 MB / 1.605 GB, free: 3.449 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/1.921, allocations: 295.7 kB / 1.606 GB, free: 3.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/1.921, allocations: 67.95 kB / 1.606 GB, free: 3.094 MB / 1.01 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.0004533/1.921, allocations: 124.8 kB / 1.606 GB, free: 2.965 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/1.922, allocations: 174.1 kB / 1.606 GB, free: 2.793 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.933, allocations: 4.507 MB / 1.611 GB, free: 14.25 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/1.933, allocations: 20 kB / 1.611 GB, free: 14.23 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.243e-05/1.933, allocations: 20 kB / 1.611 GB, free: 14.21 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/1.933, allocations: 11.92 kB / 1.611 GB, free: 14.2 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/1.947, allocations: 6.575 MB / 1.617 GB, free: 7.516 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.947, allocations: 4.062 kB / 1.617 GB, free: 7.512 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.949, allocations: 363.4 kB / 1.617 GB, free: 7.156 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007783/1.957, allocations: 1.949 MB / 1.619 GB, free: 5.188 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/1.957, allocations: 19.92 kB / 1.619 GB, free: 5.168 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02652/1.984, allocations: 20.89 MB / 1.64 GB, free: 15.36 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.984, allocations: 12.73 kB / 1.64 GB, free: 15.34 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009689/1.994, allocations: 4.31 MB / 1.644 GB, free: 10.91 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/1.995, allocations: 498.9 kB / 1.644 GB, free: 10.4 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/1.995, allocations: 4 kB / 1.644 GB, free: 10.4 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.998, allocations: 307.5 kB / 1.645 GB, free: 10.1 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/1.998, allocations: 149 kB / 1.645 GB, free: 9.949 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/1.998, allocations: 51.97 kB / 1.645 GB, free: 9.898 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0009136/1.999, allocations: 0.6135 MB / 1.645 GB, free: 9.281 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.1e-07/1.999, allocations: 0 / 1.645 GB, free: 9.281 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.002475/2.002, allocations: 0.6367 MB / 1.646 GB, free: 8.645 MB / 1.057 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.0004612/2.002, allocations: 182.3 kB / 1.646 GB, free: 8.461 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.007102/2.009, allocations: 4.167 MB / 1.65 GB, free: 4.215 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/2.009, allocations: 0 / 1.65 GB, free: 4.215 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.005039/2.014, allocations: 2.825 MB / 1.653 GB, free: 1.309 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/2.017, allocations: 440.8 kB / 1.653 GB, free: 0.8828 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/2.022, allocations: 3.094 MB / 1.657 GB, free: 13.72 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/2.024, allocations: 1.599 MB / 1.658 GB, free: 12.08 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.001795/2.026, allocations: 393.3 kB / 1.658 GB, free: 11.69 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/2.026, allocations: 107.4 kB / 1.659 GB, free: 11.59 MB / 1.073 GB Notification: Performance of SimCode: time 7.31e-07/2.026, allocations: 0 / 1.659 GB, free: 11.59 MB / 1.073 GB Notification: Performance of Templates: time 0.06636/2.092, allocations: 40.83 MB / 1.698 GB, free: 3.125 MB / 1.104 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