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.332/2.332, allocations: 390.3 MB / 405.3 MB, free: 13.54 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.001166/0.001166, allocations: 173.1 kB / 498.1 MB, free: 5.789 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.71/1.71, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.0009452/0.0009452, allocations: 102.4 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005207, allocations: 13.28 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3453, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9406/1.286, allocations: 221.2 MB / 1.439 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/1.286, allocations: 99.61 kB / 1.439 GB, free: 203.6 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2691/1.556, allocations: 125.3 MB / 1.561 GB, free: 89.41 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.705e-06/1.556, allocations: 0 / 1.561 GB, free: 89.41 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001096/1.556, allocations: 43.98 kB / 1.561 GB, free: 89.36 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003944/1.56, allocations: 1.886 MB / 1.563 GB, free: 87.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/1.56, allocations: 12.03 kB / 1.563 GB, free: 87.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/1.57, allocations: 1.96 MB / 1.565 GB, free: 85.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005237/1.576, allocations: 2.087 MB / 1.567 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/1.576, allocations: 86.31 kB / 1.567 GB, free: 83.21 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/1.576, allocations: 116 kB / 1.567 GB, free: 83.1 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005175/1.581, allocations: 2.724 MB / 1.57 GB, free: 80.19 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/1.581, allocations: 11.84 kB / 1.57 GB, free: 80.18 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/1.581, allocations: 63.92 kB / 1.57 GB, free: 80.11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-05/1.582, allocations: 86.28 kB / 1.57 GB, free: 80.03 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006587/1.588, allocations: 2.842 MB / 1.573 GB, free: 77.18 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/1.601, allocations: 10.72 MB / 1.583 GB, free: 65.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005708/1.607, allocations: 2.393 MB / 1.586 GB, free: 63.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/1.607, allocations: 9 kB / 1.586 GB, free: 63.45 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.607, allocations: 55.5 kB / 1.586 GB, free: 63.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=89): time 3.076e-06/1.607, allocations: 0 / 1.586 GB, free: 63.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=153): time 0.05708/1.664, allocations: 17.32 MB / 1.603 GB, free: 45.91 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.562e-05/1.665, allocations: 222.9 kB / 1.603 GB, free: 45.64 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/1.666, allocations: 1.02 MB / 1.604 GB, free: 44.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003259/1.666, allocations: 57.7 kB / 1.604 GB, free: 44.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/1.667, allocations: 0.7399 MB / 1.605 GB, free: 43.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/1.667, allocations: 0.5082 MB / 1.605 GB, free: 43.29 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/1.667, allocations: 32 kB / 1.605 GB, free: 43.26 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/1.667, allocations: 365.9 kB / 1.606 GB, free: 42.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/1.67, allocations: 1.538 MB / 1.607 GB, free: 41.36 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003079/1.674, allocations: 1.822 MB / 1.609 GB, free: 39.44 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/1.677, allocations: 1.661 MB / 1.611 GB, free: 37.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.677, allocations: 4 kB / 1.611 GB, free: 37.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01388/1.691, allocations: 5.409 MB / 1.616 GB, free: 32.32 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/1.691, allocations: 13.78 kB / 1.616 GB, free: 32.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.691, allocations: 4 kB / 1.616 GB, free: 32.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008515/1.699, allocations: 2.134 MB / 1.618 GB, free: 30.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002164/1.702, allocations: 427.2 kB / 1.618 GB, free: 29.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02479/1.726, allocations: 23.3 MB / 1.641 GB, free: 5.371 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/1.729, allocations: 327.5 kB / 1.641 GB, free: 5.051 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/1.73, allocations: 71.97 kB / 1.641 GB, free: 4.98 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 (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.001067/1.731, allocations: 469.4 kB / 1.642 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004959/1.731, allocations: 177.9 kB / 1.642 GB, free: 4.336 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.745, allocations: 5.472 MB / 1.647 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/1.745, allocations: 16 kB / 1.647 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.793e-05/1.745, allocations: 23.94 kB / 1.647 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-05/1.745, allocations: 7.969 kB / 1.647 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/1.767, allocations: 7.691 MB / 1.655 GB, free: 6.961 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/1.767, allocations: 8 kB / 1.655 GB, free: 6.953 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.769, allocations: 363.7 kB / 1.655 GB, free: 6.598 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008443/1.777, allocations: 1.994 MB / 1.657 GB, free: 4.582 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003147/1.777, allocations: 39.97 kB / 1.657 GB, free: 4.543 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04005/1.817, allocations: 22.49 MB / 1.679 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/1.817, allocations: 4.031 kB / 1.679 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/1.838, allocations: 5.246 MB / 1.684 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.84, allocations: 0.5065 MB / 1.685 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005159/1.841, allocations: 32 kB / 1.685 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/1.844, allocations: 331.5 kB / 1.685 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007339/1.845, allocations: 145 kB / 1.685 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002458/1.845, allocations: 47.97 kB / 1.685 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001834/1.847, allocations: 0.8016 MB / 1.686 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.31e-07/1.847, allocations: 4 kB / 1.686 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003952/1.851, allocations: 0.7148 MB / 1.687 GB, free: 4.988 MB / 0.9636 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.0007531/1.852, allocations: 215 kB / 1.687 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01605/1.868, allocations: 5.21 MB / 1.692 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/1.868, allocations: 0 / 1.692 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007655/1.876, allocations: 3.394 MB / 1.696 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/1.879, allocations: 0.4985 MB / 1.696 GB, free: 11.46 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.889, allocations: 4.864 MB / 1.701 GB, free: 6.543 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/1.89, allocations: 1.604 MB / 1.702 GB, free: 4.902 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002001/1.892, allocations: 406.6 kB / 1.703 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/1.893, allocations: 123.4 kB / 1.703 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of SimCode: time 1.452e-06/1.893, allocations: 0 / 1.703 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of Templates: time 0.07642/1.969, allocations: 44.22 MB / 1.746 GB, free: 8.602 MB / 1.026 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