Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [: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.733/1.733, allocations: 387.2 MB / 394.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009959/0.0009959, allocations: 180.4 kB / 487 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.088/1.088, allocations: 221.3 MB / 0.7819 GB, free: 6.828 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007947/0.0007947, allocations: 100.6 kB / 0.9213 GB, free: 43.73 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 5.47e-06/5.5e-06, allocations: 0 / 1.066 GB, free: 7.613 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5313/0.5313, allocations: 142.3 MB / 1.205 GB, free: 72.66 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.6948, allocations: 165.1 MB / 1.366 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.6951, allocations: 88.56 kB / 1.367 GB, free: 14.13 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.06674/0.7619, allocations: 32.09 MB / 1.398 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.86e-05/0.7619, allocations: 27.98 kB / 1.398 GB, free: 13.82 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0009591/0.7629, allocations: 0.7747 MB / 1.399 GB, free: 13 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.7629, allocations: 12.91 kB / 1.399 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.7641, allocations: 214.8 kB / 1.399 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006424/0.7648, allocations: 496.3 kB / 1.399 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.7648, allocations: 12 kB / 1.399 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.7649, allocations: 28 kB / 1.399 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005872/0.7655, allocations: 430.2 kB / 1.4 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.7663, allocations: 0.8698 MB / 1.401 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7664, allocations: 3.938 kB / 1.401 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.7664, allocations: 8 kB / 1.401 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.7665, allocations: 56.75 kB / 1.401 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.7698, allocations: 5.564 MB / 1.406 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.7703, allocations: 422.3 kB / 1.407 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.7706, allocations: 225.2 kB / 1.407 GB, free: 4.086 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7706, allocations: 4.531 kB / 1.407 GB, free: 4.082 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.7706, allocations: 35.75 kB / 1.407 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.7706, allocations: 4 kB / 1.407 GB, free: 4.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.001305/0.7719, allocations: 0.8318 MB / 1.408 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.772, allocations: 55.41 kB / 1.408 GB, free: 3.113 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.7723, allocations: 358 kB / 1.408 GB, free: 2.758 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.7723, allocations: 25.7 kB / 1.408 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.7725, allocations: 304.3 kB / 1.408 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/0.7725, allocations: 106.4 kB / 1.408 GB, free: 2.316 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.818e-05/0.7726, allocations: 4 kB / 1.408 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7727, allocations: 358.8 kB / 1.409 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.7729, allocations: 185.2 kB / 1.409 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.7732, allocations: 393.7 kB / 1.409 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.7735, allocations: 251.7 kB / 1.41 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7735, allocations: 4 kB / 1.41 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009798/0.7745, allocations: 0.7082 MB / 1.41 GB, free: 312 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.7745, allocations: 4 kB / 1.41 GB, free: 308 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7745, allocations: 8.938 kB / 1.41 GB, free: 300 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004423/0.775, allocations: 152.1 kB / 1.41 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.7754, allocations: 111.9 kB / 1.41 GB, free: 20 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.7779, allocations: 3.854 MB / 1.414 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.7782, allocations: 15.98 kB / 1.414 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.878e-05/0.7782, allocations: 31.89 kB / 1.414 GB, free: 11.78 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.7783, allocations: 129.5 kB / 1.414 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.7784, allocations: 55.34 kB / 1.414 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.7793, allocations: 0.5771 MB / 1.415 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7793, allocations: 4 kB / 1.415 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7793, allocations: 0.5625 kB / 1.415 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.7793, allocations: 7.984 kB / 1.415 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.7808, allocations: 1.169 MB / 1.416 GB, free: 9.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.7808, allocations: 4.562 kB / 1.416 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.781, allocations: 60.05 kB / 1.416 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/0.7814, allocations: 140.2 kB / 1.416 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.7814, allocations: 2.25 kB / 1.416 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.7838, allocations: 3.86 MB / 1.42 GB, free: 5.312 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7838, allocations: 3.938 kB / 1.42 GB, free: 5.309 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008412/0.7846, allocations: 0.7705 MB / 1.421 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.7848, allocations: 168.3 kB / 1.421 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.7849, allocations: 4.875 kB / 1.421 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.7851, allocations: 11.98 kB / 1.421 GB, free: 4.242 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.7852, allocations: 19.92 kB / 1.421 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.7852, allocations: 12 kB / 1.421 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0002143/0.7854, allocations: 266.9 kB / 1.421 GB, free: 3.953 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005162/0.7859, allocations: 128.8 kB / 1.422 GB, free: 3.828 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.7861, allocations: 103.2 kB / 1.422 GB, free: 3.719 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.7871, allocations: 0.9634 MB / 1.423 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7872, allocations: 0 / 1.423 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006776/0.7878, allocations: 0.6969 MB / 1.423 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007144/0.7886, allocations: 168.8 kB / 1.423 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.7897, allocations: 0.7622 MB / 1.424 GB, free: 0.9336 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.7902, allocations: 0.9526 MB / 1.425 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of SimCode: time 2.4e-07/0.7902, allocations: 8 kB / 1.425 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of Templates: time 0.01122/0.8014, allocations: 7.031 MB / 1.432 GB, free: 9.035 MB / 0.9323 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches