Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 9.1.1-maint.9.1.x/package.mo): time 1.771/1.771, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001018/0.001018, allocations: 187.8 kB / 487 MB, free: 5.363 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.132/1.132, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008034/0.0008034, allocations: 98.61 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.713e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1843, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5405/0.7248, allocations: 207.1 MB / 1.408 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.7251, allocations: 95.59 kB / 1.408 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.2519/0.977, allocations: 119.7 MB / 1.525 GB, free: 8.227 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001216/0.9771, allocations: 75.98 kB / 1.525 GB, free: 8.152 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004532/0.9817, allocations: 2.704 MB / 1.527 GB, free: 5.391 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.9817, allocations: 13.02 kB / 1.527 GB, free: 5.379 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.9853, allocations: 0.6518 MB / 1.528 GB, free: 4.723 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003597/0.9889, allocations: 2.067 MB / 1.53 GB, free: 2.594 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.574e-05/0.989, allocations: 99.98 kB / 1.53 GB, free: 2.496 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003713/0.9894, allocations: 176 kB / 1.53 GB, free: 2.324 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004653/0.9941, allocations: 3.089 MB / 1.533 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005876/1, allocations: 4.217 MB / 1.537 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.676e-05/1, allocations: 11.88 kB / 1.537 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/1, allocations: 8 kB / 1.537 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/1, allocations: 177.8 kB / 1.537 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01879/1.019, allocations: 21.06 MB / 1.558 GB, free: 3.535 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/1.021, allocations: 1.173 MB / 1.559 GB, free: 2.348 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/1.022, allocations: 1.031 MB / 1.56 GB, free: 1.312 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/1.022, allocations: 16.94 kB / 1.56 GB, free: 1.297 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/1.022, allocations: 47.56 kB / 1.56 GB, free: 1.242 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=107): time 2.925e-06/1.022, allocations: 0 / 1.56 GB, free: 1.242 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138): time 0.008381/1.03, allocations: 4.793 MB / 1.565 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/1.03, allocations: 68.72 kB / 1.565 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009562/1.031, allocations: 0.8306 MB / 1.566 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/1.031, allocations: 25.7 kB / 1.566 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/1.032, allocations: 1.131 MB / 1.567 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/1.032, allocations: 465 kB / 1.567 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/1.032, allocations: 0 / 1.567 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.033, allocations: 373.9 kB / 1.568 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/1.034, allocations: 0.8629 MB / 1.569 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/1.035, allocations: 1.32 MB / 1.57 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.036, allocations: 1.111 MB / 1.571 GB, free: 6.02 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.036, allocations: 4 kB / 1.571 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00509/1.041, allocations: 3.263 MB / 1.574 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/1.041, allocations: 8 kB / 1.574 GB, free: 2.727 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.041, allocations: 12 kB / 1.574 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/1.044, allocations: 1.107 MB / 1.575 GB, free: 1.602 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/1.045, allocations: 251.6 kB / 1.575 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.058, allocations: 11.32 MB / 1.587 GB, free: 5.688 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/1.059, allocations: 39.95 kB / 1.587 GB, free: 5.648 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/1.059, allocations: 75.94 kB / 1.587 GB, free: 5.574 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002817/1.06, allocations: 148.4 kB / 1.587 GB, free: 5.422 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.06, allocations: 150.2 kB / 1.587 GB, free: 5.273 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005249/1.065, allocations: 3.041 MB / 1.59 GB, free: 2.203 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.065, allocations: 16 kB / 1.59 GB, free: 2.188 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/1.065, allocations: 19.91 kB / 1.59 GB, free: 2.168 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.065, allocations: 7.969 kB / 1.59 GB, free: 2.16 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00897/1.074, allocations: 5.607 MB / 1.595 GB, free: 12.44 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.074, allocations: 4.562 kB / 1.595 GB, free: 12.44 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/1.075, allocations: 143.8 kB / 1.596 GB, free: 12.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/1.077, allocations: 1.025 MB / 1.597 GB, free: 11.27 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/1.077, allocations: 4 kB / 1.597 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.09, allocations: 11.01 MB / 1.607 GB, free: 15.91 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.09, allocations: 7.906 kB / 1.607 GB, free: 15.9 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004622/1.095, allocations: 3.26 MB / 1.611 GB, free: 12.48 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006991/1.096, allocations: 407.2 kB / 1.611 GB, free: 12.06 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/1.096, allocations: 7.906 kB / 1.611 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/1.096, allocations: 35.95 kB / 1.611 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.097, allocations: 72.89 kB / 1.611 GB, free: 11.95 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/1.097, allocations: 40 kB / 1.611 GB, free: 11.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0007704/1.097, allocations: 0.6281 MB / 1.612 GB, free: 11.27 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001741/1.099, allocations: 0.5664 MB / 1.612 GB, free: 10.71 MB / 1.042 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/1.099, allocations: 135 kB / 1.612 GB, free: 10.56 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.103, allocations: 2.794 MB / 1.615 GB, free: 7.742 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.103, allocations: 1.25 kB / 1.615 GB, free: 7.742 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/1.106, allocations: 1.696 MB / 1.617 GB, free: 6.008 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/1.107, allocations: 388 kB / 1.617 GB, free: 5.637 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007506/1.115, allocations: 4.35 MB / 1.621 GB, free: 1.172 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/1.117, allocations: 2.425 MB / 1.624 GB, free: 14.71 MB / 1.057 GB Notification: Performance of SimCode: time 5.21e-07/1.117, allocations: 4 kB / 1.624 GB, free: 14.71 MB / 1.057 GB Notification: Performance of Templates: time 0.04214/1.16, allocations: 28.69 MB / 1.652 GB, free: 2.363 MB / 1.073 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches