Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E.vPhase.1..S.1.|E.vPhase.1..S.2.|E.vPhase.2..S.1.|E.vPhase.2..S.2.|E.vPhase.3..S.1.|E.vPhase.3..S.2.|load.terminal.phase.4..v.1.|load.terminal.phase.4..v.2.|load.terminal.phase.4..i.1.|load.terminal.phase.4..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_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.679/1.679, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009131/0.0009132, allocations: 181.3 kB / 490.8 MB, free: 1.973 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.046/1.046, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007955/0.0007955, allocations: 92.61 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.643e-06/6.733e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1648, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6455, allocations: 204.3 MB / 1.411 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.6458, allocations: 95.06 kB / 1.411 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.1538/0.7995, allocations: 76.12 MB / 1.486 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.255e-05/0.7996, allocations: 36 kB / 1.486 GB, free: 12.95 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.002785/0.8024, allocations: 1.669 MB / 1.487 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.8025, allocations: 8.031 kB / 1.487 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/0.8052, allocations: 0.5622 MB / 1.488 GB, free: 10.76 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.8071, allocations: 1.242 MB / 1.489 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.8072, allocations: 52 kB / 1.489 GB, free: 9.711 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.8075, allocations: 99.91 kB / 1.489 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002609/0.8101, allocations: 2.008 MB / 1.491 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.8133, allocations: 2.445 MB / 1.493 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.8133, allocations: 0 / 1.493 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.8135, allocations: 7.938 kB / 1.493 GB, free: 6.504 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/0.8136, allocations: 93.52 kB / 1.494 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.8238, allocations: 10.59 MB / 1.504 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007763/0.8246, allocations: 0.687 MB / 1.505 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.8252, allocations: 0.5363 MB / 1.505 GB, free: 10.71 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.8254, allocations: 97.39 kB / 1.505 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.8254, allocations: 38.94 kB / 1.505 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=46): time 1.503e-06/0.8254, allocations: 4 kB / 1.505 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72): time 0.009332/0.8347, allocations: 4.216 MB / 1.509 GB, free: 6.32 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.8348, allocations: 81.77 kB / 1.509 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008293/0.8356, allocations: 0.7767 MB / 1.51 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.8357, allocations: 25.7 kB / 1.51 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.8361, allocations: 0.6993 MB / 1.511 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.8362, allocations: 248.4 kB / 1.511 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.8363, allocations: 0 / 1.511 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8365, allocations: 390.8 kB / 1.512 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.8374, allocations: 0.7795 MB / 1.512 GB, free: 3.281 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.8385, allocations: 1.138 MB / 1.513 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8401, allocations: 1.108 MB / 1.514 GB, free: 0.8789 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.8401, allocations: 4 kB / 1.514 GB, free: 0.875 MB / 0.9167 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006571/0.8466, allocations: 3.151 MB / 1.518 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001256/0.8479, allocations: 4.258 MB / 1.522 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8479, allocations: 8 kB / 1.522 GB, free: 9.105 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004565/0.8525, allocations: 1.266 MB / 1.523 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007102/0.8532, allocations: 211.6 kB / 1.523 GB, free: 7.629 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008943/0.8622, allocations: 6.762 MB / 1.53 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/0.8632, allocations: 123.8 kB / 1.53 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.8633, allocations: 47.98 kB / 1.53 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.8633, allocations: 7.938 kB / 1.53 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002266/0.8656, allocations: 1.724 MB / 1.532 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.8656, allocations: 15.98 kB / 1.532 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.8656, allocations: 19.94 kB / 1.532 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.8667, allocations: 311.6 kB / 1.532 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.8668, allocations: 23.92 kB / 1.532 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.8675, allocations: 91.81 kB / 1.532 GB, free: 14.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.8675, allocations: 47.98 kB / 1.532 GB, free: 14.32 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.8677, allocations: 132.7 kB / 1.532 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.8679, allocations: 82.97 kB / 1.532 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006252/0.8741, allocations: 2.905 MB / 1.535 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8742, allocations: 8 kB / 1.535 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.8742, allocations: 4 kB / 1.535 GB, free: 11.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.8742, allocations: 7.891 kB / 1.535 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/0.8835, allocations: 5.223 MB / 1.54 GB, free: 5.832 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8835, allocations: 0 / 1.54 GB, free: 5.832 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.8839, allocations: 103.9 kB / 1.54 GB, free: 5.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/0.8891, allocations: 1.481 MB / 1.542 GB, free: 4.242 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.8892, allocations: 8 kB / 1.542 GB, free: 4.234 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.9007, allocations: 8.739 MB / 1.55 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9007, allocations: 4 kB / 1.55 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006017/0.9067, allocations: 2.876 MB / 1.553 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004674/0.9072, allocations: 332 kB / 1.553 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.9074, allocations: 4 kB / 1.553 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.9083, allocations: 115.8 kB / 1.554 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.9084, allocations: 44.44 kB / 1.554 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.9085, allocations: 24 kB / 1.554 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0006081/0.9091, allocations: 0.6006 MB / 1.554 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001616/0.9107, allocations: 0.625 MB / 1.555 GB, free: 6.535 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002681/0.911, allocations: 163.8 kB / 1.555 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004146/0.9152, allocations: 2.916 MB / 1.558 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9152, allocations: 3.938 kB / 1.558 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/0.9173, allocations: 1.24 MB / 1.559 GB, free: 2.188 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.918, allocations: 205.2 kB / 1.559 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004348/0.9224, allocations: 2.9 MB / 1.562 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001463/0.9239, allocations: 1.784 MB / 1.564 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of SimCode: time 2.81e-07/0.9239, allocations: 0 / 1.564 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of Templates: time 0.03406/0.9579, allocations: 28.37 MB / 1.592 GB, free: 1.023 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches