Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [: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.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001045/0.001045, allocations: 177.3 kB / 487 MB, free: 5.352 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008068/0.0008068, allocations: 94.25 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.25e-06/5.27e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1743, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4903/0.6646, allocations: 174.4 MB / 1.376 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001852/0.6648, allocations: 91.69 kB / 1.376 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.1091/0.7739, allocations: 54.92 MB / 1.429 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.187e-05/0.7739, allocations: 23.98 kB / 1.429 GB, free: 4.289 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001426/0.7754, allocations: 0.9699 MB / 1.43 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7754, allocations: 8.031 kB / 1.43 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.7769, allocations: 245.7 kB / 1.43 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007538/0.7777, allocations: 0.5434 MB / 1.431 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.7777, allocations: 20 kB / 1.431 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.7778, allocations: 40 kB / 1.431 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008436/0.7786, allocations: 0.622 MB / 1.432 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.7798, allocations: 1.04 MB / 1.433 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.7798, allocations: 7.938 kB / 1.433 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.7799, allocations: 4 kB / 1.433 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.78, allocations: 60.89 kB / 1.433 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/0.7842, allocations: 5.8 MB / 1.438 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.785, allocations: 0.5238 MB / 1.439 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.7853, allocations: 320.6 kB / 1.439 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.7854, allocations: 4.438 kB / 1.439 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.7854, allocations: 46.3 kB / 1.439 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.7854, allocations: 3.938 kB / 1.439 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001798/0.7872, allocations: 1.183 MB / 1.44 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.7872, allocations: 63.72 kB / 1.44 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.7876, allocations: 398.2 kB / 1.441 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.7876, allocations: 25.7 kB / 1.441 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.7878, allocations: 349.6 kB / 1.441 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.963e-05/0.7879, allocations: 166 kB / 1.441 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.7879, allocations: 0 / 1.441 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7881, allocations: 370.2 kB / 1.442 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.7884, allocations: 262.9 kB / 1.442 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003967/0.7888, allocations: 446.8 kB / 1.442 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.7892, allocations: 329 kB / 1.443 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7892, allocations: 4 kB / 1.443 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001434/0.7906, allocations: 0.9828 MB / 1.444 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.7906, allocations: 4 kB / 1.444 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7906, allocations: 4 kB / 1.444 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007663/0.7914, allocations: 275.9 kB / 1.444 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000432/0.7919, allocations: 115.2 kB / 1.444 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.7967, allocations: 6.212 MB / 1.45 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.7971, allocations: 15.98 kB / 1.45 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.7972, allocations: 23.88 kB / 1.45 GB, free: 0.4922 MB / 0.8698 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.7973, allocations: 134 kB / 1.45 GB, free: 372 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.284e-05/0.7974, allocations: 67.25 kB / 1.45 GB, free: 304 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.7987, allocations: 0.8462 MB / 1.451 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.7987, allocations: 7.938 kB / 1.451 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7987, allocations: 4 kB / 1.451 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.7987, allocations: 4 kB / 1.451 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.8008, allocations: 1.598 MB / 1.453 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.8008, allocations: 4 kB / 1.453 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.801, allocations: 54.72 kB / 1.453 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/0.8017, allocations: 265.2 kB / 1.453 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.8018, allocations: 4 kB / 1.453 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.8065, allocations: 6.178 MB / 1.459 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.8065, allocations: 8.125 kB / 1.459 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001268/0.8078, allocations: 1.018 MB / 1.46 GB, free: 7.043 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.808, allocations: 187.4 kB / 1.46 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.8081, allocations: 0 / 1.46 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.8084, allocations: 11.98 kB / 1.46 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.8085, allocations: 35.92 kB / 1.46 GB, free: 6.816 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.8085, allocations: 15.94 kB / 1.46 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0002565/0.8088, allocations: 303.4 kB / 1.461 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006256/0.8094, allocations: 195.9 kB / 1.461 GB, free: 6.391 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.8096, allocations: 131.1 kB / 1.461 GB, free: 6.254 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.811, allocations: 1.148 MB / 1.462 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.811, allocations: 0 / 1.462 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009867/0.812, allocations: 0.8085 MB / 1.463 GB, free: 4.543 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.8128, allocations: 156.9 kB / 1.463 GB, free: 4.422 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.8144, allocations: 0.9896 MB / 1.464 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006142/0.8151, allocations: 1.056 MB / 1.465 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of SimCode: time 4.6e-07/0.8151, allocations: 0 / 1.465 GB, free: 2.441 MB / 0.8855 GB Notification: Performance of Templates: time 0.0147/0.8298, allocations: 10.1 MB / 1.475 GB, free: 8.441 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches