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") [: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.757/1.757, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009869/0.0009869, allocations: 181.2 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.118/1.118, allocations: 221.3 MB / 0.7819 GB, free: 1.406 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.0008318/0.000832, allocations: 99.61 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.731e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1846, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.554/0.7387, allocations: 220.4 MB / 1.42 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.739, allocations: 94.12 kB / 1.421 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.2613/1, allocations: 124.1 MB / 1.542 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001361/1, allocations: 39.98 kB / 1.542 GB, free: 6.742 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.003684/1.004, allocations: 1.661 MB / 1.543 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/1.004, allocations: 8.031 kB / 1.543 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/1.015, allocations: 1.613 MB / 1.545 GB, free: 3.406 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/1.02, allocations: 2.095 MB / 1.547 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/1.02, allocations: 36 kB / 1.547 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/1.02, allocations: 75.91 kB / 1.547 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002795/1.023, allocations: 1.711 MB / 1.549 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/1.026, allocations: 2.1 MB / 1.551 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/1.026, allocations: 4 kB / 1.551 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/1.027, allocations: 8 kB / 1.551 GB, free: 13.13 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-05/1.027, allocations: 102.2 kB / 1.551 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/1.041, allocations: 10.34 MB / 1.561 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/1.043, allocations: 1.435 MB / 1.562 GB, free: 0.6602 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/1.044, allocations: 0.8941 MB / 1.563 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.432e-05/1.044, allocations: 16.78 kB / 1.563 GB, free: 15.74 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.044, allocations: 39.34 kB / 1.563 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=89): time 2.895e-06/1.044, allocations: 0 / 1.563 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=153): time 0.01634/1.06, allocations: 6.987 MB / 1.57 GB, free: 8.676 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/1.06, allocations: 226.9 kB / 1.57 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/1.062, allocations: 0.7974 MB / 1.571 GB, free: 7.602 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/1.062, allocations: 29.7 kB / 1.571 GB, free: 7.566 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/1.062, allocations: 0.5394 MB / 1.572 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004111/1.062, allocations: 0.4924 MB / 1.572 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/1.063, allocations: 0 / 1.572 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.063, allocations: 361.9 kB / 1.573 GB, free: 6.156 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/1.064, allocations: 1.14 MB / 1.574 GB, free: 5.016 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/1.066, allocations: 1.407 MB / 1.575 GB, free: 3.504 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/1.068, allocations: 1.306 MB / 1.576 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.068, allocations: 0 / 1.576 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01036/1.078, allocations: 4.515 MB / 1.581 GB, free: 13.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.078, allocations: 4 kB / 1.581 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.078, allocations: 11.94 kB / 1.581 GB, free: 13.63 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008769/1.087, allocations: 2.084 MB / 1.583 GB, free: 11.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/1.089, allocations: 351.4 kB / 1.583 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/1.114, allocations: 20.91 MB / 1.604 GB, free: 5.348 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/1.117, allocations: 207.7 kB / 1.604 GB, free: 5.145 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002987/1.117, allocations: 63.97 kB / 1.604 GB, free: 5.082 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 (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.000411/1.118, allocations: 136.5 kB / 1.604 GB, free: 4.941 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005375/1.118, allocations: 162.1 kB / 1.604 GB, free: 4.781 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/1.129, allocations: 4.642 MB / 1.609 GB, free: 104 kB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.129, allocations: 12 kB / 1.609 GB, free: 92 kB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.233e-05/1.129, allocations: 20 kB / 1.609 GB, free: 72 kB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.129, allocations: 7.969 kB / 1.609 GB, free: 64 kB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.142, allocations: 6.658 MB / 1.615 GB, free: 9.301 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.142, allocations: 4.344 kB / 1.615 GB, free: 9.297 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/1.144, allocations: 283.6 kB / 1.615 GB, free: 9.02 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007888/1.152, allocations: 1.934 MB / 1.617 GB, free: 7.062 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/1.152, allocations: 15.97 kB / 1.617 GB, free: 7.047 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/1.176, allocations: 19.98 MB / 1.637 GB, free: 2.145 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.176, allocations: 4 kB / 1.637 GB, free: 2.141 MB / 1.057 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009658/1.185, allocations: 4.345 MB / 1.641 GB, free: 13.66 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/1.186, allocations: 0.499 MB / 1.642 GB, free: 13.14 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000456/1.187, allocations: 11.98 kB / 1.642 GB, free: 13.13 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.189, allocations: 203.7 kB / 1.642 GB, free: 12.93 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.189, allocations: 89.11 kB / 1.642 GB, free: 12.85 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/1.189, allocations: 51.97 kB / 1.642 GB, free: 12.8 MB / 1.073 GB Notification: Performance of sort global known variables: time 0.0008597/1.19, allocations: 0.6096 MB / 1.642 GB, free: 12.18 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002078/1.192, allocations: 0.5898 MB / 1.643 GB, free: 11.59 MB / 1.073 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.0004417/1.193, allocations: 175.1 kB / 1.643 GB, free: 11.41 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.006782/1.2, allocations: 4.039 MB / 1.647 GB, free: 7.289 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.2, allocations: 4 kB / 1.647 GB, free: 7.285 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004705/1.204, allocations: 2.646 MB / 1.65 GB, free: 4.559 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/1.206, allocations: 423.4 kB / 1.65 GB, free: 4.152 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007217/1.213, allocations: 3.238 MB / 1.653 GB, free: 0.8281 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00159/1.215, allocations: 1.624 MB / 1.655 GB, free: 15.18 MB / 1.089 GB Notification: Performance of SimCode: time 1.893e-06/1.215, allocations: 0 / 1.655 GB, free: 15.18 MB / 1.089 GB Notification: Performance of Templates: time 0.05873/1.274, allocations: 44.99 MB / 1.699 GB, free: 2.559 MB / 1.12 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