Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [: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 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 249.4 MB / 256.7 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 177.2 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 0.5667 GB, free: 15.6 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.001159, allocations: 89.34 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.635e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.1996, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5558/0.7554, allocations: 163.7 MB / 1.044 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.7557, allocations: 97.17 kB / 1.044 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.04346/0.7992, allocations: 17.97 MB / 1.062 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.7993, allocations: 8 kB / 1.062 GB, free: 10.26 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008899/0.8002, allocations: 0.5396 MB / 1.063 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.8002, allocations: 8.031 kB / 1.063 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008437/0.801, allocations: 103.4 kB / 1.063 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.8014, allocations: 250.3 kB / 1.063 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.8014, allocations: 4 kB / 1.063 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.8015, allocations: 12 kB / 1.063 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004213/0.8019, allocations: 273.5 kB / 1.063 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.8024, allocations: 345 kB / 1.064 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.8025, allocations: 3.938 kB / 1.064 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.8025, allocations: 4 kB / 1.064 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.8025, allocations: 23.48 kB / 1.064 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.8044, allocations: 1.686 MB / 1.065 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.8047, allocations: 279.1 kB / 1.065 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.805, allocations: 170.2 kB / 1.066 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/0.8051, allocations: 85.11 kB / 1.066 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.8052, allocations: 45.92 kB / 1.066 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.8052, allocations: 0 / 1.066 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.003074/0.8082, allocations: 1.101 MB / 1.067 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.8083, allocations: 81.11 kB / 1.067 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.8084, allocations: 153.8 kB / 1.067 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.8085, allocations: 29.7 kB / 1.067 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.8086, allocations: 135.4 kB / 1.067 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.703e-05/0.8087, allocations: 118.4 kB / 1.067 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.8087, allocations: 0 / 1.067 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8088, allocations: 329 kB / 1.068 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.8091, allocations: 220.6 kB / 1.068 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/0.8095, allocations: 308.8 kB / 1.068 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006564/0.8102, allocations: 305.7 kB / 1.068 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8102, allocations: 4 kB / 1.068 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001091/0.8113, allocations: 0.6102 MB / 1.069 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003155/0.8116, allocations: 0.8751 MB / 1.07 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.8116, allocations: 4 kB / 1.07 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.8116, allocations: 7.938 kB / 1.07 GB, free: 3.008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.8127, allocations: 154.9 kB / 1.07 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8127, allocations: 8 kB / 1.07 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.8131, allocations: 35.95 kB / 1.07 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.316e-05/0.8131, allocations: 15.31 kB / 1.07 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.8131, allocations: 7.906 kB / 1.07 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008857/0.814, allocations: 465.6 kB / 1.071 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.814, allocations: 4 kB / 1.071 GB, free: 2.457 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.814, allocations: 4 kB / 1.071 GB, free: 2.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.8148, allocations: 136 kB / 1.071 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8148, allocations: 4 kB / 1.071 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.8151, allocations: 31.97 kB / 1.071 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.8151, allocations: 23.73 kB / 1.071 GB, free: 2.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.8153, allocations: 112.8 kB / 1.071 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.8154, allocations: 23.72 kB / 1.071 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.8166, allocations: 0.6415 MB / 1.071 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.8166, allocations: 4 kB / 1.071 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.8166, allocations: 3.984 kB / 1.072 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8166, allocations: 0 / 1.072 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.8186, allocations: 1.29 MB / 1.073 GB, free: 0.5234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8186, allocations: 3.984 kB / 1.073 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.8193, allocations: 131.2 kB / 1.073 GB, free: 404 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.657e-05/0.8193, allocations: 4 kB / 1.073 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.8194, allocations: 4 kB / 1.073 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.8194, allocations: 3.938 kB / 1.073 GB, free: 392 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8194, allocations: 4 kB / 1.073 GB, free: 388 kB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009131/0.8203, allocations: 0.781 MB / 1.074 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.8205, allocations: 148.6 kB / 1.074 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.8205, allocations: 3.984 kB / 1.074 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.8209, allocations: 35.97 kB / 1.074 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.821, allocations: 23.31 kB / 1.074 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.821, allocations: 15 kB / 1.074 GB, free: 15.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.000103/0.8211, allocations: 135.5 kB / 1.074 GB, free: 15.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006798/0.8218, allocations: 143.7 kB / 1.074 GB, free: 15.18 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002437/0.8221, allocations: 151 kB / 1.074 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009683/0.823, allocations: 0.7101 MB / 1.075 GB, free: 14.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8231, allocations: 0 / 1.075 GB, free: 14.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.8234, allocations: 235.3 kB / 1.075 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.8237, allocations: 36.55 kB / 1.075 GB, free: 14.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.825, allocations: 0.5805 MB / 1.076 GB, free: 13.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.8255, allocations: 0.8347 MB / 1.077 GB, free: 12.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.8256, allocations: 0 / 1.077 GB, free: 12.96 MB / 0.698 GB Notification: Performance of Templates: time 0.01126/0.8368, allocations: 6.584 MB / 1.083 GB, free: 6.438 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches