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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 249.4 MB / 256.7 MB, free: 6.953 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.001086/0.001086, allocations: 173.3 kB / 316 MB, free: 3.523 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.279/1.279, allocations: 205.2 MB / 0.5667 GB, free: 15.73 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.0009523/0.0009524, allocations: 93.72 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.067e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2243, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6987/0.923, allocations: 203.5 MB / 1.083 GB, free: 2.707 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/0.9234, allocations: 97.84 kB / 1.083 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.2077/1.131, allocations: 84.95 MB / 1.166 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001211/1.131, allocations: 51.86 kB / 1.166 GB, free: 5.914 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.003255/1.135, allocations: 1.638 MB / 1.168 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/1.135, allocations: 8.031 kB / 1.168 GB, free: 4.219 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/1.147, allocations: 1.609 MB / 1.17 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006181/1.153, allocations: 2.094 MB / 1.172 GB, free: 464 kB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/1.153, allocations: 39.94 kB / 1.172 GB, free: 424 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005563/1.154, allocations: 68 kB / 1.172 GB, free: 356 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003728/1.157, allocations: 1.707 MB / 1.173 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/1.161, allocations: 2.1 MB / 1.175 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/1.161, allocations: 11.84 kB / 1.175 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.161, allocations: 4 kB / 1.175 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.161, allocations: 90.27 kB / 1.176 GB, free: 12.24 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/1.178, allocations: 10.33 MB / 1.186 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002353/1.18, allocations: 1.443 MB / 1.187 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/1.182, allocations: 0.9056 MB / 1.188 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.07e-05/1.182, allocations: 16.75 kB / 1.188 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/1.182, allocations: 43.34 kB / 1.188 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 3.095e-06/1.182, allocations: 0 / 1.188 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=153): time 0.01817/1.2, allocations: 6.994 MB / 1.195 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.2, allocations: 226.9 kB / 1.195 GB, free: 7.598 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.201, allocations: 0.8091 MB / 1.196 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002304/1.202, allocations: 25.7 kB / 1.196 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1.202, allocations: 0.5277 MB / 1.196 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004967/1.202, allocations: 0.4887 MB / 1.197 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.203, allocations: 4 kB / 1.197 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.203, allocations: 369.9 kB / 1.197 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/1.204, allocations: 1.136 MB / 1.198 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/1.206, allocations: 1.4 MB / 1.2 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002085/1.208, allocations: 1.314 MB / 1.201 GB, free: 1.387 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/1.208, allocations: 7.906 kB / 1.201 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01116/1.219, allocations: 4.519 MB / 1.205 GB, free: 12.82 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.219, allocations: 4 kB / 1.205 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.22, allocations: 8.031 kB / 1.205 GB, free: 12.81 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009163/1.229, allocations: 2.086 MB / 1.207 GB, free: 10.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.231, allocations: 335.4 kB / 1.208 GB, free: 10.37 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02856/1.259, allocations: 20.9 MB / 1.228 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/1.262, allocations: 203.7 kB / 1.228 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/1.263, allocations: 63.97 kB / 1.228 GB, free: 4.293 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.0003893/1.263, allocations: 135.3 kB / 1.229 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004614/1.264, allocations: 162.1 kB / 1.229 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.275, allocations: 4.649 MB / 1.233 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/1.275, allocations: 16 kB / 1.233 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/1.275, allocations: 23.91 kB / 1.233 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/1.275, allocations: 7.969 kB / 1.233 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/1.29, allocations: 6.631 MB / 1.24 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/1.29, allocations: 4 kB / 1.24 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001871/1.291, allocations: 275.9 kB / 1.24 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008342/1.3, allocations: 1.937 MB / 1.242 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/1.3, allocations: 27.95 kB / 1.242 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.39/1.69, allocations: 19.98 MB / 1.261 GB, free: 345.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.387e-06/1.69, allocations: 4.062 kB / 1.261 GB, free: 345.6 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009421/1.7, allocations: 4.352 MB / 1.266 GB, free: 345.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/1.701, allocations: 0.4955 MB / 1.266 GB, free: 344.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/1.701, allocations: 6.469 kB / 1.266 GB, free: 344.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.703, allocations: 206.7 kB / 1.266 GB, free: 344.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/1.704, allocations: 81.75 kB / 1.267 GB, free: 344.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.704, allocations: 62.62 kB / 1.267 GB, free: 344.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0008131/1.705, allocations: 0.6049 MB / 1.267 GB, free: 344.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002343/1.707, allocations: 0.585 MB / 1.268 GB, free: 344.8 MB / 0.8542 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.0004699/1.707, allocations: 185.3 kB / 1.268 GB, free: 344.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006751/1.714, allocations: 4.042 MB / 1.272 GB, free: 343.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.714, allocations: 0 / 1.272 GB, free: 343.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004663/1.719, allocations: 2.644 MB / 1.274 GB, free: 343 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.721, allocations: 421 kB / 1.275 GB, free: 343 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/1.729, allocations: 3.241 MB / 1.278 GB, free: 342.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/1.73, allocations: 1.624 MB / 1.28 GB, free: 341.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.11e-07/1.73, allocations: 0 / 1.28 GB, free: 341.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.0705/1.801, allocations: 44.98 MB / 1.324 GB, free: 336.9 MB / 0.8542 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