Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [: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.689/1.689, 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.0008923/0.0008923, allocations: 193.2 kB / 490.8 MB, free: 1.922 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.041/1.041, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0008165/0.0008166, allocations: 96.62 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.53e-06/5.55e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1649, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.6311, allocations: 182.5 MB / 1.39 GB, free: 14.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.6314, allocations: 96.8 kB / 1.39 GB, free: 14.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.3789/1.01, allocations: 192.3 MB / 1.578 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001837/1.011, allocations: 127.9 kB / 1.578 GB, free: 15.84 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006523/1.017, allocations: 4.222 MB / 1.582 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/1.017, allocations: 12.03 kB / 1.582 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/1.022, allocations: 1.005 MB / 1.583 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00501/1.027, allocations: 3.237 MB / 1.586 GB, free: 7.246 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/1.027, allocations: 156 kB / 1.586 GB, free: 7.094 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005438/1.027, allocations: 283.9 kB / 1.586 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006774/1.034, allocations: 4.877 MB / 1.591 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008702/1.043, allocations: 6.856 MB / 1.598 GB, free: 10.6 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-05/1.043, allocations: 19.78 kB / 1.598 GB, free: 10.58 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/1.043, allocations: 12 kB / 1.598 GB, free: 10.57 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/1.044, allocations: 277.2 kB / 1.598 GB, free: 10.3 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02594/1.069, allocations: 35.35 MB / 1.633 GB, free: 3.719 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002545/1.072, allocations: 2.008 MB / 1.635 GB, free: 1.703 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/1.074, allocations: 1.448 MB / 1.636 GB, free: 264 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/1.074, allocations: 21.3 kB / 1.636 GB, free: 240 kB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/1.074, allocations: 51.88 kB / 1.636 GB, free: 180 kB / 1.042 GB Notification: Performance of pre-optimization done (n=157): time 3.476e-06/1.074, allocations: 0 / 1.636 GB, free: 180 kB / 1.042 GB Notification: Performance of matching and sorting (n=160): time 0.0067/1.08, allocations: 4.878 MB / 1.641 GB, free: 11.25 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.08, allocations: 64.72 kB / 1.641 GB, free: 11.17 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/1.082, allocations: 1.248 MB / 1.642 GB, free: 9.887 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 8.531e-05/1.082, allocations: 33.62 kB / 1.642 GB, free: 9.848 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007386/1.083, allocations: 1.801 MB / 1.644 GB, free: 8.02 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/1.083, allocations: 0.5312 MB / 1.645 GB, free: 7.48 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/1.083, allocations: 0 / 1.645 GB, free: 7.48 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.083, allocations: 398 kB / 1.645 GB, free: 7.086 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/1.084, allocations: 0.9921 MB / 1.646 GB, free: 6.09 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.086, allocations: 1.697 MB / 1.648 GB, free: 4.059 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/1.087, allocations: 1.279 MB / 1.649 GB, free: 2.777 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/1.087, allocations: 8 kB / 1.649 GB, free: 2.77 MB / 1.057 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00495/1.092, allocations: 3.579 MB / 1.652 GB, free: 15.14 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.092, allocations: 4 kB / 1.652 GB, free: 15.14 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/1.092, allocations: 24.88 kB / 1.652 GB, free: 15.12 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/1.095, allocations: 0.9038 MB / 1.653 GB, free: 14.18 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.096, allocations: 395.4 kB / 1.654 GB, free: 13.79 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/1.111, allocations: 19.69 MB / 1.673 GB, free: 8.711 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/1.112, allocations: 51.95 kB / 1.673 GB, free: 8.66 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.112, allocations: 99.98 kB / 1.673 GB, free: 8.562 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002684/1.112, allocations: 168.3 kB / 1.673 GB, free: 8.387 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/1.113, allocations: 237.3 kB / 1.673 GB, free: 8.152 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/1.117, allocations: 3.156 MB / 1.676 GB, free: 4.949 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.117, allocations: 16 kB / 1.676 GB, free: 4.934 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.117, allocations: 8 kB / 1.676 GB, free: 4.926 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/1.117, allocations: 7.969 kB / 1.676 GB, free: 4.918 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/1.126, allocations: 6.717 MB / 1.683 GB, free: 14.05 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/1.126, allocations: 4 kB / 1.683 GB, free: 14.05 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00084/1.127, allocations: 199.7 kB / 1.683 GB, free: 13.85 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/1.129, allocations: 0.8689 MB / 1.684 GB, free: 12.95 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/1.129, allocations: 4 kB / 1.684 GB, free: 12.94 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.144, allocations: 19.67 MB / 1.703 GB, free: 7.887 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.144, allocations: 12.11 kB / 1.703 GB, free: 7.875 MB / 1.12 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004435/1.149, allocations: 3.596 MB / 1.707 GB, free: 4.016 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007387/1.15, allocations: 0.506 MB / 1.707 GB, free: 3.488 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.15, allocations: 7.984 kB / 1.707 GB, free: 3.48 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/1.151, allocations: 39.95 kB / 1.707 GB, free: 3.441 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.151, allocations: 93.03 kB / 1.707 GB, free: 3.352 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/1.151, allocations: 44 kB / 1.707 GB, free: 3.309 MB / 1.12 GB Notification: Performance of sort global known variables: time 0.0009758/1.152, allocations: 0.9139 MB / 1.708 GB, free: 2.375 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002153/1.154, allocations: 0.8164 MB / 1.709 GB, free: 1.559 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/1.154, allocations: 135 kB / 1.709 GB, free: 1.414 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.004777/1.159, allocations: 4.007 MB / 1.713 GB, free: 13.29 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.159, allocations: 7.906 kB / 1.713 GB, free: 13.29 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003223/1.163, allocations: 2.717 MB / 1.716 GB, free: 10.45 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.165, allocations: 0.624 MB / 1.716 GB, free: 9.824 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008914/1.174, allocations: 6.007 MB / 1.722 GB, free: 3.691 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003182/1.177, allocations: 3.371 MB / 1.726 GB, free: 292 kB / 1.135 GB Notification: Performance of SimCode: time 3.9e-07/1.177, allocations: 0 / 1.726 GB, free: 292 kB / 1.135 GB Notification: Performance of Templates: time 0.311/1.488, allocations: 37.77 MB / 1.762 GB, free: 434.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches