Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,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_N") [: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.759/1.759, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.000904/0.0009041, allocations: 169.3 kB / 487 MB, free: 5.348 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.137/1.137, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008408/0.0008408, allocations: 99.47 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.832e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5349/0.7355, allocations: 179.1 MB / 1.38 GB, free: 13.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.7358, allocations: 88.69 kB / 1.38 GB, free: 13.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1654/0.9012, allocations: 76.16 MB / 1.455 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.656e-05/0.9013, allocations: 40 kB / 1.455 GB, free: 12.84 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002546/0.9038, allocations: 1.633 MB / 1.456 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.9039, allocations: 9.031 kB / 1.456 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002494/0.9064, allocations: 480.6 kB / 1.457 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.9082, allocations: 1.309 MB / 1.458 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.9083, allocations: 51.91 kB / 1.458 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.9085, allocations: 84 kB / 1.458 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003013/0.9115, allocations: 2.351 MB / 1.46 GB, free: 8.035 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.9152, allocations: 2.961 MB / 1.463 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.9152, allocations: 7.922 kB / 1.463 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.9154, allocations: 4 kB / 1.463 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005181/0.9159, allocations: 187.1 kB / 1.463 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01787/0.9338, allocations: 14.69 MB / 1.478 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.9359, allocations: 1.742 MB / 1.479 GB, free: 5.996 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.9377, allocations: 1.539 MB / 1.481 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.9378, allocations: 24.97 kB / 1.481 GB, free: 4.422 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.9378, allocations: 47.55 kB / 1.481 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=104): time 2.776e-06/0.9378, allocations: 0 / 1.481 GB, free: 4.367 MB / 0.9011 GB Notification: Performance of matching and sorting (n=183): time 0.03708/0.9749, allocations: 14.15 MB / 1.495 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.9749, allocations: 77.41 kB / 1.495 GB, free: 6.109 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.9763, allocations: 1.004 MB / 1.496 GB, free: 5.098 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.9765, allocations: 25.7 kB / 1.496 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.9768, allocations: 0.6623 MB / 1.497 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004961/0.9773, allocations: 0.6004 MB / 1.497 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.9775, allocations: 0 / 1.497 GB, free: 3.781 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9776, allocations: 381.9 kB / 1.498 GB, free: 3.402 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.9801, allocations: 2.147 MB / 1.5 GB, free: 1.254 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002709/0.9829, allocations: 2.47 MB / 1.502 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00497/0.9878, allocations: 2.93 MB / 1.505 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.9879, allocations: 4 kB / 1.505 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01635/1.004, allocations: 8.767 MB / 1.513 GB, free: 2.949 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.004, allocations: 4 kB / 1.513 GB, free: 2.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.004, allocations: 12.03 kB / 1.514 GB, free: 2.934 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/1.018, allocations: 4.986 MB / 1.518 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/1.019, allocations: 243.6 kB / 1.519 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02959/1.049, allocations: 21.57 MB / 1.54 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.051, allocations: 67.91 kB / 1.54 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/1.051, allocations: 267.7 kB / 1.54 GB, free: 7.492 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004188/1.052, allocations: 132.5 kB / 1.54 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/1.052, allocations: 134.4 kB / 1.54 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/1.067, allocations: 8.351 MB / 1.548 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.067, allocations: 16 kB / 1.548 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.067, allocations: 16 kB / 1.548 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/1.067, allocations: 7.969 kB / 1.548 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.088, allocations: 12.76 MB / 1.561 GB, free: 1.898 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.088, allocations: 4 kB / 1.561 GB, free: 1.895 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/1.089, allocations: 119.8 kB / 1.561 GB, free: 1.777 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01321/1.102, allocations: 4.765 MB / 1.566 GB, free: 13 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/1.102, allocations: 67.88 kB / 1.566 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02603/1.128, allocations: 18.5 MB / 1.584 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.128, allocations: 7.938 kB / 1.584 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01401/1.142, allocations: 7.899 MB / 1.592 GB, free: 2.051 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.143, allocations: 0.8231 MB / 1.592 GB, free: 1.207 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004123/1.144, allocations: 8 kB / 1.592 GB, free: 1.199 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.145, allocations: 43.88 kB / 1.592 GB, free: 1.156 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/1.145, allocations: 153.8 kB / 1.593 GB, free: 1.008 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003158/1.146, allocations: 175.9 kB / 1.593 GB, free: 0.8359 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0008919/1.147, allocations: 0.7763 MB / 1.593 GB, free: 60 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.002138/1.149, allocations: 0.6681 MB / 1.594 GB, free: 15.39 MB / 1.026 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 (66): * Single equations (assignments): 62 * 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 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003105/1.149, allocations: 123.1 kB / 1.594 GB, free: 15.26 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00796/1.157, allocations: 5.736 MB / 1.6 GB, free: 9.512 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.157, allocations: 0 / 1.6 GB, free: 9.512 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.005984/1.163, allocations: 3.387 MB / 1.603 GB, free: 6.102 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008993/1.164, allocations: 157.8 kB / 1.603 GB, free: 5.949 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007052/1.171, allocations: 4.376 MB / 1.608 GB, free: 1.477 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001687/1.173, allocations: 1.908 MB / 1.609 GB, free: 15.54 MB / 1.042 GB Notification: Performance of SimCode: time 3.1e-07/1.173, allocations: 4 kB / 1.609 GB, free: 15.53 MB / 1.042 GB Notification: Performance of Templates: time 0.06881/1.242, allocations: 58.26 MB / 1.666 GB, free: 5.254 MB / 1.089 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches