Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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_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_latest_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_latest_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 10.0.0-master/package.mo): time 1.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009378/0.0009378, allocations: 193.2 kB / 490.8 MB, free: 1.926 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.047/1.047, allocations: 221.3 MB / 0.7863 GB, free: 13.67 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.0008091/0.0008092, allocations: 92.59 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.31e-06/5.34e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1635, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.6306, allocations: 178.5 MB / 1.386 GB, free: 16.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.6308, allocations: 91 kB / 1.386 GB, free: 16.44 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.1436/0.7744, allocations: 73.03 MB / 1.457 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.838e-05/0.7745, allocations: 36 kB / 1.457 GB, free: 8.246 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.002528/0.777, allocations: 1.523 MB / 1.459 GB, free: 6.77 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.7771, allocations: 8.031 kB / 1.459 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/0.7795, allocations: 469.3 kB / 1.459 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.7812, allocations: 1.15 MB / 1.46 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.11e-05/0.7813, allocations: 51.91 kB / 1.46 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.7815, allocations: 84 kB / 1.461 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00256/0.7841, allocations: 2.039 MB / 1.463 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.7872, allocations: 2.604 MB / 1.465 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.7873, allocations: 7.938 kB / 1.465 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/0.7874, allocations: 7.984 kB / 1.465 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003376/0.7878, allocations: 157.2 kB / 1.465 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01376/0.8016, allocations: 13.96 MB / 1.479 GB, free: 5.023 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.803, allocations: 1.268 MB / 1.48 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001185/0.8042, allocations: 1.114 MB / 1.481 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.8042, allocations: 16.58 kB / 1.481 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.8042, allocations: 47.06 kB / 1.481 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 1.623e-06/0.8043, allocations: 0 / 1.481 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of matching and sorting (n=139): time 0.02142/0.8257, allocations: 8.972 MB / 1.49 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.8257, allocations: 72.7 kB / 1.49 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009065/0.8266, allocations: 0.894 MB / 1.491 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.8268, allocations: 25.7 kB / 1.491 GB, free: 9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.827, allocations: 0.6385 MB / 1.492 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.8274, allocations: 469 kB / 1.492 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.8275, allocations: 0 / 1.492 GB, free: 7.883 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8277, allocations: 422.6 kB / 1.492 GB, free: 7.461 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.8293, allocations: 1.491 MB / 1.494 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/0.8312, allocations: 1.785 MB / 1.496 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.8346, allocations: 2.114 MB / 1.498 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.8346, allocations: 4 kB / 1.498 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009782/0.8444, allocations: 5.776 MB / 1.503 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.8444, allocations: 4 kB / 1.503 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.8445, allocations: 8 kB / 1.503 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007091/0.8516, allocations: 2.736 MB / 1.506 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.8523, allocations: 215.6 kB / 1.506 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/0.8701, allocations: 14.41 MB / 1.52 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009839/0.871, allocations: 59.95 kB / 1.52 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/0.8713, allocations: 167.9 kB / 1.521 GB, free: 10.27 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.000283/0.8716, allocations: 120.7 kB / 1.521 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.8718, allocations: 114.7 kB / 1.521 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/0.8807, allocations: 5.247 MB / 1.526 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8807, allocations: 16 kB / 1.526 GB, free: 4.742 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8807, allocations: 11.91 kB / 1.526 GB, free: 4.73 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.8807, allocations: 3.984 kB / 1.526 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.8935, allocations: 8.376 MB / 1.534 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.8935, allocations: 0 / 1.534 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.8939, allocations: 115.8 kB / 1.534 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006712/0.9007, allocations: 2.564 MB / 1.537 GB, free: 9.551 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.9008, allocations: 39.94 kB / 1.537 GB, free: 9.512 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/0.9166, allocations: 12.38 MB / 1.549 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.9166, allocations: 4 kB / 1.549 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008181/0.9248, allocations: 5.105 MB / 1.554 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/0.9257, allocations: 0.5932 MB / 1.554 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.926, allocations: 8.094 kB / 1.554 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007476/0.9267, allocations: 43.81 kB / 1.554 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.927, allocations: 117 kB / 1.555 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/0.9272, allocations: 111.9 kB / 1.555 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0006557/0.9278, allocations: 0.6826 MB / 1.555 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001378/0.9292, allocations: 0.5079 MB / 1.556 GB, free: 5.5 MB / 0.9636 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.0002375/0.9295, allocations: 135 kB / 1.556 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005316/0.9348, allocations: 3.941 MB / 1.56 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.9348, allocations: 0 / 1.56 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003851/0.9386, allocations: 2.273 MB / 1.562 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007493/0.9394, allocations: 152.4 kB / 1.562 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004827/0.9442, allocations: 3.348 MB / 1.565 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.9457, allocations: 1.74 MB / 1.567 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of SimCode: time 2.2e-07/0.9457, allocations: 0 / 1.567 GB, free: 9.746 MB / 0.9792 GB Notification: Performance of Templates: time 0.04281/0.9885, allocations: 39.71 MB / 1.606 GB, free: 2.098 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches