Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.761/1.761, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001039/0.001039, allocations: 182.8 kB / 487 MB, free: 5.371 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.116/1.116, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008639/0.0008639, allocations: 92.62 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.271e-06/6.301e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1863, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5542/0.7405, allocations: 217.9 MB / 1.418 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.7408, allocations: 94.16 kB / 1.418 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.2507/0.9915, allocations: 122.6 MB / 1.538 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.798e-05/0.9916, allocations: 39.98 kB / 1.538 GB, free: 10.84 MB / 0.9636 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.002607/0.9942, allocations: 1.626 MB / 1.539 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.9943, allocations: 8.031 kB / 1.539 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/1.004, allocations: 1.519 MB / 1.541 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/1.006, allocations: 1.232 MB / 1.542 GB, free: 6.348 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/1.007, allocations: 36 kB / 1.542 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/1.007, allocations: 68 kB / 1.542 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/1.009, allocations: 1.766 MB / 1.544 GB, free: 4.477 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/1.012, allocations: 2.104 MB / 1.546 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.012, allocations: 11.92 kB / 1.546 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/1.012, allocations: 4 kB / 1.546 GB, free: 2.176 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.573e-05/1.012, allocations: 86.28 kB / 1.546 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01281/1.025, allocations: 10.34 MB / 1.556 GB, free: 7.176 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/1.027, allocations: 1.645 MB / 1.558 GB, free: 5.461 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.028, allocations: 0.9076 MB / 1.559 GB, free: 4.555 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.82e-05/1.028, allocations: 16.75 kB / 1.559 GB, free: 4.539 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.028, allocations: 51.34 kB / 1.559 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 2.555e-06/1.028, allocations: 0 / 1.559 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131): time 0.01242/1.041, allocations: 5.791 MB / 1.564 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/1.041, allocations: 230.9 kB / 1.565 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008613/1.042, allocations: 0.7584 MB / 1.565 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/1.042, allocations: 29.7 kB / 1.565 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/1.042, allocations: 0.5191 MB / 1.566 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/1.043, allocations: 437.4 kB / 1.566 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.043, allocations: 0 / 1.566 GB, free: 12.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.043, allocations: 357.9 kB / 1.567 GB, free: 12.25 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.044, allocations: 0.9632 MB / 1.568 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/1.045, allocations: 1.222 MB / 1.569 GB, free: 9.957 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.047, allocations: 1.111 MB / 1.57 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.047, allocations: 11.94 kB / 1.57 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007818/1.055, allocations: 3.68 MB / 1.573 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.055, allocations: 4 kB / 1.573 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.055, allocations: 11.94 kB / 1.573 GB, free: 5.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006245/1.061, allocations: 1.572 MB / 1.575 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/1.063, allocations: 363.5 kB / 1.575 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/1.085, allocations: 23.31 MB / 1.598 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/1.087, allocations: 203.7 kB / 1.598 GB, free: 10.11 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/1.087, allocations: 63.97 kB / 1.598 GB, free: 10.04 MB / 1.026 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000317/1.087, allocations: 126.2 kB / 1.598 GB, free: 9.914 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.088, allocations: 150.2 kB / 1.599 GB, free: 9.766 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008331/1.096, allocations: 3.794 MB / 1.602 GB, free: 5.918 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/1.096, allocations: 12.09 kB / 1.602 GB, free: 5.906 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.558e-05/1.096, allocations: 19.98 kB / 1.602 GB, free: 5.887 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.096, allocations: 7.969 kB / 1.602 GB, free: 5.879 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.108, allocations: 6.027 MB / 1.608 GB, free: 15.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.108, allocations: 8.031 kB / 1.608 GB, free: 15.69 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.11, allocations: 315.4 kB / 1.609 GB, free: 15.38 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005908/1.116, allocations: 1.459 MB / 1.61 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/1.116, allocations: 27.89 kB / 1.61 GB, free: 13.85 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/1.137, allocations: 22.36 MB / 1.632 GB, free: 5.996 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/1.137, allocations: 4.031 kB / 1.632 GB, free: 5.992 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007462/1.144, allocations: 3.666 MB / 1.635 GB, free: 2.184 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009162/1.145, allocations: 455.2 kB / 1.636 GB, free: 1.719 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/1.145, allocations: 8 kB / 1.636 GB, free: 1.711 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/1.147, allocations: 211.6 kB / 1.636 GB, free: 1.504 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.148, allocations: 60.91 kB / 1.636 GB, free: 1.445 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.148, allocations: 51.97 kB / 1.636 GB, free: 1.395 MB / 1.057 GB Notification: Performance of sort global known variables: time 0.0007299/1.148, allocations: 0.5762 MB / 1.637 GB, free: 0.8125 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00183/1.15, allocations: 0.5117 MB / 1.637 GB, free: 308 kB / 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002951/1.151, allocations: 143 kB / 1.637 GB, free: 156 kB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006022/1.157, allocations: 4.049 MB / 1.641 GB, free: 11.96 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/1.157, allocations: 4 kB / 1.641 GB, free: 11.96 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004417/1.161, allocations: 2.85 MB / 1.644 GB, free: 8.98 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/1.163, allocations: 429.1 kB / 1.645 GB, free: 8.566 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006185/1.169, allocations: 2.912 MB / 1.647 GB, free: 5.57 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.171, allocations: 1.565 MB / 1.649 GB, free: 3.977 MB / 1.073 GB Notification: Performance of SimCode: time 1.934e-06/1.171, allocations: 0 / 1.649 GB, free: 3.977 MB / 1.073 GB Notification: Performance of Templates: time 0.05131/1.222, allocations: 39.01 MB / 1.687 GB, free: 13.29 MB / 1.12 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches