Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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 10.0.0-master/package.mo): time 1.692/1.692, allocations: 390.4 MB / 397.7 MB, free: 1.926 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008975/0.0008976, allocations: 181.3 kB / 490.8 MB, free: 7.539 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.049/1.049, allocations: 221.3 MB / 0.7863 GB, free: 304 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007932/0.0007931, allocations: 99.52 kB / 0.9264 GB, free: 0.6836 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.382e-06, allocations: 4 kB / 1.072 GB, free: 137.6 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1687, allocations: 143 MB / 1.212 GB, free: 10.6 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.6332, allocations: 178.1 MB / 1.385 GB, free: 56 kB / 0.8467 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.6335, allocations: 92.02 kB / 1.386 GB, free: 15.96 MB / 0.8623 GB Notification: Performance of FrontEnd: time 0.3554/0.989, allocations: 173.8 MB / 1.555 GB, free: 188 kB / 1.019 GB Notification: Performance of Transformations before backend: time 0.0001749/0.9892, allocations: 95.98 kB / 1.555 GB, free: 92 kB / 1.019 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006451/0.9956, allocations: 3.385 MB / 1.559 GB, free: 12.64 MB / 1.034 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.9957, allocations: 8.031 kB / 1.559 GB, free: 12.64 MB / 1.034 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/1.001, allocations: 1.036 MB / 1.56 GB, free: 11.59 MB / 1.034 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/1.005, allocations: 2.641 MB / 1.562 GB, free: 8.895 MB / 1.034 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.924e-05/1.005, allocations: 120 kB / 1.562 GB, free: 8.777 MB / 1.034 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/1.005, allocations: 215.9 kB / 1.563 GB, free: 8.566 MB / 1.034 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005987/1.011, allocations: 4.588 MB / 1.567 GB, free: 3.973 MB / 1.034 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007626/1.019, allocations: 6.249 MB / 1.573 GB, free: 13.37 MB / 1.05 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/1.019, allocations: 15.88 kB / 1.573 GB, free: 13.36 MB / 1.05 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/1.019, allocations: 8 kB / 1.573 GB, free: 13.35 MB / 1.05 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005661/1.02, allocations: 403.2 kB / 1.574 GB, free: 12.95 MB / 1.05 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02621/1.046, allocations: 31.65 MB / 1.605 GB, free: 10.55 MB / 1.081 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/1.048, allocations: 2.107 MB / 1.607 GB, free: 8.438 MB / 1.081 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002376/1.051, allocations: 2.236 MB / 1.609 GB, free: 6.195 MB / 1.081 GB Notification: Performance of preOpt evalFunc (simulation): time 7.061e-05/1.051, allocations: 25.28 kB / 1.609 GB, free: 6.172 MB / 1.081 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/1.051, allocations: 51.81 kB / 1.609 GB, free: 6.109 MB / 1.081 GB Notification: Performance of pre-optimization done (n=146): time 2.845e-06/1.051, allocations: 0 / 1.609 GB, free: 6.109 MB / 1.081 GB Notification: Performance of matching and sorting (n=251): time 0.05105/1.102, allocations: 21.58 MB / 1.63 GB, free: 492 kB / 1.097 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.102, allocations: 77.41 kB / 1.63 GB, free: 400 kB / 1.097 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/1.103, allocations: 1.264 MB / 1.631 GB, free: 15.13 MB / 1.112 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/1.104, allocations: 25.7 kB / 1.631 GB, free: 15.1 MB / 1.112 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/1.104, allocations: 1.461 MB / 1.633 GB, free: 13.61 MB / 1.112 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/1.105, allocations: 0.8158 MB / 1.633 GB, free: 12.79 MB / 1.112 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.105, allocations: 0 / 1.633 GB, free: 12.79 MB / 1.112 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.105, allocations: 407.1 kB / 1.634 GB, free: 12.38 MB / 1.112 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003193/1.108, allocations: 2.871 MB / 1.637 GB, free: 9.508 MB / 1.112 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003459/1.112, allocations: 3.397 MB / 1.64 GB, free: 5.895 MB / 1.112 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/1.117, allocations: 3.609 MB / 1.644 GB, free: 2.285 MB / 1.112 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.117, allocations: 4 kB / 1.644 GB, free: 2.281 MB / 1.112 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02149/1.138, allocations: 12.42 MB / 1.656 GB, free: 5.824 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/1.138, allocations: 4 kB / 1.656 GB, free: 5.82 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.138, allocations: 16 kB / 1.656 GB, free: 5.805 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.276/1.415, allocations: 7.965 MB / 1.663 GB, free: 433.7 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/1.416, allocations: 275.3 kB / 1.664 GB, free: 433.7 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03817/1.454, allocations: 30.89 MB / 1.694 GB, free: 428.5 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/1.455, allocations: 86.34 kB / 1.694 GB, free: 428.5 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/1.456, allocations: 273.4 kB / 1.694 GB, free: 428.5 MB / 1.128 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004672/1.456, allocations: 146.1 kB / 1.694 GB, free: 428.4 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/1.457, allocations: 231.7 kB / 1.695 GB, free: 428.4 MB / 1.128 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0196/1.476, allocations: 12.66 MB / 1.707 GB, free: 428.2 MB / 1.128 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/1.476, allocations: 24.69 kB / 1.707 GB, free: 428.2 MB / 1.128 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.476, allocations: 21.47 kB / 1.707 GB, free: 428.2 MB / 1.128 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/1.476, allocations: 14.91 kB / 1.707 GB, free: 428.2 MB / 1.128 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02582/1.502, allocations: 18.12 MB / 1.725 GB, free: 427.5 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.502, allocations: 3.25 kB / 1.725 GB, free: 427.5 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/1.503, allocations: 153.4 kB / 1.725 GB, free: 427.5 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01966/1.522, allocations: 7.887 MB / 1.733 GB, free: 426.7 MB / 1.128 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/1.523, allocations: 79.45 kB / 1.733 GB, free: 426.7 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03778/1.561, allocations: 30.44 MB / 1.762 GB, free: 414.1 MB / 1.128 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/1.561, allocations: 8.281 kB / 1.762 GB, free: 414.1 MB / 1.128 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02097/1.582, allocations: 12.7 MB / 1.775 GB, free: 409.9 MB / 1.128 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001707/1.583, allocations: 0.992 MB / 1.776 GB, free: 409.5 MB / 1.128 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005363/1.584, allocations: 8.375 kB / 1.776 GB, free: 409.5 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.585, allocations: 79.58 kB / 1.776 GB, free: 409.5 MB / 1.128 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/1.586, allocations: 205 kB / 1.776 GB, free: 409.4 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/1.586, allocations: 238.3 kB / 1.776 GB, free: 409.4 MB / 1.128 GB Notification: Performance of sort global known variables: time 0.001092/1.587, allocations: 0.95 MB / 1.777 GB, free: 409 MB / 1.128 GB Notification: Performance of remove unused functions: time 0.003028/1.59, allocations: 1.114 MB / 1.778 GB, free: 409 MB / 1.128 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003488/1.591, allocations: 147.6 kB / 1.778 GB, free: 408.9 MB / 1.128 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.605, allocations: 9.367 MB / 1.788 GB, free: 401.9 MB / 1.128 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.605, allocations: 0 / 1.788 GB, free: 401.9 MB / 1.128 GB Notification: Performance of simCode: created simulation system equations: time 0.01042/1.615, allocations: 5.972 MB / 1.793 GB, free: 396.8 MB / 1.128 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/1.617, allocations: 417.5 kB / 1.794 GB, free: 396.4 MB / 1.128 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009965/1.627, allocations: 7.473 MB / 1.801 GB, free: 389.7 MB / 1.128 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/1.629, allocations: 3.211 MB / 1.804 GB, free: 387.2 MB / 1.128 GB Notification: Performance of SimCode: time 3.1e-07/1.629, allocations: 4 kB / 1.804 GB, free: 387.2 MB / 1.128 GB Notification: Performance of Templates: time 0.06516/1.694, allocations: 65.69 MB / 1.868 GB, free: 335.6 MB / 1.128 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches