Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_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.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009383/0.0009386, allocations: 189.2 kB / 490.8 MB, free: 1.941 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.66 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.000788/0.000788, allocations: 85.81 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.881e-06/5.912e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1651, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.6319, allocations: 183.1 MB / 1.39 GB, free: 14.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.6322, allocations: 93.56 kB / 1.391 GB, free: 14.86 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.4289/1.061, allocations: 212.5 MB / 1.598 GB, free: 10.79 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0002926/1.061, allocations: 144 kB / 1.598 GB, free: 10.65 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01013/1.071, allocations: 4.953 MB / 1.603 GB, free: 5.633 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/1.072, allocations: 8.031 kB / 1.603 GB, free: 5.625 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/1.077, allocations: 1.136 MB / 1.604 GB, free: 4.48 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/1.083, allocations: 3.716 MB / 1.608 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/1.083, allocations: 188 kB / 1.608 GB, free: 0.5273 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006463/1.084, allocations: 331.9 kB / 1.608 GB, free: 208 kB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008162/1.092, allocations: 5.892 MB / 1.614 GB, free: 10.31 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/1.102, allocations: 8.044 MB / 1.622 GB, free: 1.82 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/1.102, allocations: 19.81 kB / 1.622 GB, free: 1.801 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004604/1.103, allocations: 16 kB / 1.622 GB, free: 1.785 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/1.103, allocations: 307 kB / 1.622 GB, free: 1.484 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03117/1.134, allocations: 40.41 MB / 1.662 GB, free: 5.344 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/1.138, allocations: 2.857 MB / 1.664 GB, free: 2.473 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002519/1.14, allocations: 2.117 MB / 1.667 GB, free: 368 kB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.783e-05/1.14, allocations: 26 kB / 1.667 GB, free: 340 kB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.14, allocations: 64.5 kB / 1.667 GB, free: 268 kB / 1.073 GB Notification: Performance of pre-optimization done (n=209): time 3.527e-06/1.14, allocations: 0 / 1.667 GB, free: 268 kB / 1.073 GB Notification: Performance of matching and sorting (n=212): time 0.009244/1.15, allocations: 6.452 MB / 1.673 GB, free: 9.773 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.15, allocations: 77.39 kB / 1.673 GB, free: 9.688 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.151, allocations: 1.329 MB / 1.674 GB, free: 8.332 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/1.151, allocations: 29.7 kB / 1.674 GB, free: 8.297 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/1.152, allocations: 2.055 MB / 1.676 GB, free: 6.211 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.000472/1.153, allocations: 0.7005 MB / 1.677 GB, free: 5.5 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.153, allocations: 4 kB / 1.677 GB, free: 5.496 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.153, allocations: 411.2 kB / 1.677 GB, free: 5.09 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.154, allocations: 1.294 MB / 1.679 GB, free: 3.793 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/1.156, allocations: 2.061 MB / 1.681 GB, free: 1.379 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/1.158, allocations: 1.68 MB / 1.682 GB, free: 15.7 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/1.158, allocations: 8 kB / 1.682 GB, free: 15.69 MB / 1.104 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006461/1.165, allocations: 4.723 MB / 1.687 GB, free: 10.95 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/1.165, allocations: 7.984 kB / 1.687 GB, free: 10.94 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/1.165, allocations: 24 kB / 1.687 GB, free: 10.92 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/1.168, allocations: 1.423 MB / 1.688 GB, free: 9.488 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/1.169, allocations: 431.2 kB / 1.689 GB, free: 9.066 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/1.186, allocations: 15.53 MB / 1.704 GB, free: 9.066 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/1.188, allocations: 59.94 kB / 1.704 GB, free: 9.008 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/1.188, allocations: 112 kB / 1.704 GB, free: 8.898 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003227/1.188, allocations: 176.2 kB / 1.704 GB, free: 8.719 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000332/1.189, allocations: 264.9 kB / 1.705 GB, free: 8.457 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006008/1.195, allocations: 4.307 MB / 1.709 GB, free: 4.117 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.195, allocations: 20 kB / 1.709 GB, free: 4.098 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/1.195, allocations: 20 kB / 1.709 GB, free: 4.078 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.195, allocations: 15.95 kB / 1.709 GB, free: 4.062 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/1.206, allocations: 8.729 MB / 1.717 GB, free: 11.21 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.206, allocations: 4 kB / 1.717 GB, free: 11.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/1.207, allocations: 212.2 kB / 1.718 GB, free: 10.99 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/1.21, allocations: 1.398 MB / 1.719 GB, free: 9.578 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/1.21, allocations: 4 kB / 1.719 GB, free: 9.574 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/1.227, allocations: 15.5 MB / 1.734 GB, free: 9.621 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.227, allocations: 7.938 kB / 1.734 GB, free: 9.613 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005837/1.233, allocations: 4.748 MB / 1.739 GB, free: 4.641 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009349/1.234, allocations: 0.5995 MB / 1.739 GB, free: 4.02 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/1.234, allocations: 8 kB / 1.739 GB, free: 4.012 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.235, allocations: 55.83 kB / 1.739 GB, free: 3.957 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/1.235, allocations: 105.8 kB / 1.739 GB, free: 3.852 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/1.236, allocations: 64 kB / 1.739 GB, free: 3.789 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001048/1.237, allocations: 0.9724 MB / 1.74 GB, free: 2.801 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002413/1.239, allocations: 1.008 MB / 1.741 GB, free: 1.793 MB / 1.151 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 (107): * Single equations (assignments): 103 * 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: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002313/1.239, allocations: 127 kB / 1.742 GB, free: 1.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.2639/1.503, allocations: 4.211 MB / 1.746 GB, free: 427.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.503, allocations: 3.938 kB / 1.746 GB, free: 427.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00301/1.506, allocations: 2.554 MB / 1.748 GB, free: 427.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002539/1.509, allocations: 0.6669 MB / 1.749 GB, free: 427.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.519, allocations: 7.543 MB / 1.756 GB, free: 425.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003115/1.522, allocations: 3.853 MB / 1.76 GB, free: 424.8 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/1.522, allocations: 0 / 1.76 GB, free: 424.8 MB / 1.151 GB Notification: Performance of Templates: time 0.05228/1.575, allocations: 46.5 MB / 1.805 GB, free: 423.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches