Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [: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.773/1.773, 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.0008983/0.0008983, allocations: 180.6 kB / 487 MB, free: 5.414 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.422 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.0008213/0.0008213, allocations: 106.3 kB / 0.9213 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.853e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1933, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.7076, allocations: 177.7 MB / 1.379 GB, free: 14.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.7078, allocations: 94.73 kB / 1.379 GB, free: 14.41 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1507/0.8585, allocations: 73.02 MB / 1.45 GB, free: 0.5898 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.098e-05/0.8586, allocations: 36 kB / 1.45 GB, free: 0.5547 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002225/0.8609, allocations: 1.519 MB / 1.452 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.8609, allocations: 8.031 kB / 1.452 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.8633, allocations: 469.3 kB / 1.452 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.865, allocations: 1.152 MB / 1.453 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.865, allocations: 48 kB / 1.453 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.8652, allocations: 91.94 kB / 1.453 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00259/0.8678, allocations: 2.036 MB / 1.455 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.871, allocations: 2.607 MB / 1.458 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.8711, allocations: 7.938 kB / 1.458 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.8712, allocations: 0 / 1.458 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003585/0.8716, allocations: 160.1 kB / 1.458 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.8854, allocations: 13.98 MB / 1.472 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.8869, allocations: 1.269 MB / 1.473 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.8881, allocations: 1.113 MB / 1.474 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.8882, allocations: 16.64 kB / 1.474 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.8882, allocations: 35.22 kB / 1.474 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=82): time 2.145e-06/0.8882, allocations: 0 / 1.474 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139): time 0.02232/0.9105, allocations: 8.972 MB / 1.483 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.9106, allocations: 64.72 kB / 1.483 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.9116, allocations: 0.9057 MB / 1.484 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.9117, allocations: 25.7 kB / 1.484 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.912, allocations: 0.6385 MB / 1.484 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.9123, allocations: 469 kB / 1.485 GB, free: 40 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.9125, allocations: 0 / 1.485 GB, free: 40 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.9126, allocations: 422.7 kB / 1.485 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.9144, allocations: 1.491 MB / 1.487 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.9162, allocations: 1.784 MB / 1.489 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.9199, allocations: 2.113 MB / 1.491 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.9199, allocations: 3.984 kB / 1.491 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01066/0.9306, allocations: 5.781 MB / 1.496 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.9306, allocations: 7.938 kB / 1.496 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.9306, allocations: 8 kB / 1.496 GB, free: 4.301 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007433/0.9381, allocations: 2.731 MB / 1.499 GB, free: 1.559 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.9389, allocations: 211.6 kB / 1.499 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/0.9583, allocations: 14.41 MB / 1.513 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.9597, allocations: 59.95 kB / 1.513 GB, free: 2.586 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.96, allocations: 171.9 kB / 1.513 GB, free: 2.418 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 92 * 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: 2 {(6,100.0%) 12,(6,100.0%) 24} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0003229/0.9604, allocations: 123.7 kB / 1.514 GB, free: 2.293 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.9606, allocations: 110.7 kB / 1.514 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009692/0.9703, allocations: 5.243 MB / 1.519 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.9704, allocations: 16 kB / 1.519 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.9704, allocations: 8 kB / 1.519 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.9704, allocations: 7.984 kB / 1.519 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/0.9844, allocations: 8.379 MB / 1.527 GB, free: 4.391 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.9845, allocations: 11.84 kB / 1.527 GB, free: 4.379 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.9849, allocations: 116.4 kB / 1.527 GB, free: 4.266 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007113/0.992, allocations: 2.564 MB / 1.53 GB, free: 1.691 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.9922, allocations: 35.94 kB / 1.53 GB, free: 1.656 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/1.01, allocations: 12.38 MB / 1.542 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.01, allocations: 4.375 kB / 1.542 GB, free: 4.984 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009126/1.019, allocations: 5.1 MB / 1.547 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.02, allocations: 0.5971 MB / 1.547 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/1.02, allocations: 15.89 kB / 1.547 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/1.021, allocations: 35.97 kB / 1.547 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.021, allocations: 117 kB / 1.547 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002063/1.022, allocations: 107.9 kB / 1.548 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0008502/1.023, allocations: 0.6865 MB / 1.548 GB, free: 14.14 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001774/1.024, allocations: 0.5078 MB / 1.549 GB, free: 13.64 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * 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: 2 {(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 2 {6 12,6 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002801/1.025, allocations: 137.3 kB / 1.549 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006138/1.031, allocations: 3.932 MB / 1.553 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.031, allocations: 0 / 1.553 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004286/1.035, allocations: 2.265 MB / 1.555 GB, free: 7.254 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/1.036, allocations: 150.9 kB / 1.555 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/1.042, allocations: 3.344 MB / 1.558 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.044, allocations: 1.74 MB / 1.56 GB, free: 1.902 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/1.044, allocations: 0 / 1.56 GB, free: 1.902 MB / 0.9792 GB Notification: Performance of Templates: time 0.04932/1.093, allocations: 39.7 MB / 1.599 GB, free: 10.24 MB / 1.026 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches