Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.OnePhase.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,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.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") [: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.348/1.348, allocations: 249.4 MB / 256.7 MB, free: 7 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.001177/0.001177, allocations: 188.2 kB / 316 MB, free: 3.543 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.544/1.544, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0009835/0.0009835, allocations: 94.64 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.344e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2041, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6614/0.8655, allocations: 173.9 MB / 1.054 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.866, allocations: 87 kB / 1.055 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1104/0.9764, allocations: 44.25 MB / 1.098 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.857e-05/0.9765, allocations: 23.98 kB / 1.098 GB, free: 10.24 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001992/0.9785, allocations: 0.964 MB / 1.099 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.9785, allocations: 8.031 kB / 1.099 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009619/0.9881, allocations: 1.259 MB / 1.1 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.9896, allocations: 0.6208 MB / 1.101 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.9897, allocations: 23.91 kB / 1.101 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.9899, allocations: 35.98 kB / 1.101 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002246/0.9921, allocations: 1.343 MB / 1.102 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9942, allocations: 1.379 MB / 1.103 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.9942, allocations: 0 / 1.103 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.9943, allocations: 4 kB / 1.103 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003105/0.9946, allocations: 139.7 kB / 1.103 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/1.005, allocations: 6.549 MB / 1.11 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/1.006, allocations: 0.8356 MB / 1.111 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/1.007, allocations: 0.5712 MB / 1.111 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00229/1.009, allocations: 1.481 MB / 1.113 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/1.009, allocations: 46.48 kB / 1.113 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 2.384e-06/1.009, allocations: 0 / 1.113 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.01119/1.02, allocations: 4.182 MB / 1.117 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/1.02, allocations: 93.98 kB / 1.117 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/1.021, allocations: 474 kB / 1.117 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/1.021, allocations: 25.7 kB / 1.117 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/1.021, allocations: 363.1 kB / 1.118 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/1.022, allocations: 354.7 kB / 1.118 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/1.022, allocations: 0 / 1.118 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.022, allocations: 390.8 kB / 1.118 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/1.023, allocations: 0.7561 MB / 1.119 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/1.024, allocations: 1.078 MB / 1.12 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/1.027, allocations: 1.022 MB / 1.121 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/1.027, allocations: 4 kB / 1.121 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006977/1.034, allocations: 2.933 MB / 1.124 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/1.035, allocations: 3.911 MB / 1.128 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.035, allocations: 15.92 kB / 1.128 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003895/1.039, allocations: 0.9631 MB / 1.129 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/1.041, allocations: 391.4 kB / 1.129 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.052, allocations: 8.37 MB / 1.137 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.055, allocations: 203.7 kB / 1.138 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/1.055, allocations: 68.06 kB / 1.138 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/1.055, allocations: 7.938 kB / 1.138 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004866/1.06, allocations: 2.336 MB / 1.14 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.06, allocations: 12 kB / 1.14 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/1.062, allocations: 0.5616 MB / 1.14 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/1.064, allocations: 411.4 kB / 1.141 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009265/1.073, allocations: 8.09 MB / 1.149 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.075, allocations: 191.8 kB / 1.149 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/1.076, allocations: 59.97 kB / 1.149 GB, free: 6.301 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003849/1.076, allocations: 140.7 kB / 1.149 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/1.076, allocations: 79.06 kB / 1.149 GB, free: 6.078 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/1.087, allocations: 3.01 MB / 1.152 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/1.087, allocations: 12 kB / 1.152 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.476e-05/1.087, allocations: 8 kB / 1.152 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/1.087, allocations: 7.922 kB / 1.152 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01426/1.101, allocations: 4.573 MB / 1.157 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.102, allocations: 7.938 kB / 1.157 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/1.104, allocations: 296 kB / 1.157 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005662/1.11, allocations: 1.026 MB / 1.158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/1.11, allocations: 23.97 kB / 1.158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0176/1.128, allocations: 9.706 MB / 1.167 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.128, allocations: 4 kB / 1.167 GB, free: 2.781 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006791/1.134, allocations: 3.116 MB / 1.17 GB, free: 15.43 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007065/1.135, allocations: 343.9 kB / 1.171 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.135, allocations: 4 kB / 1.171 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.137, allocations: 227.6 kB / 1.171 GB, free: 14.84 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.137, allocations: 72.2 kB / 1.171 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.138, allocations: 44.08 kB / 1.171 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004509/1.138, allocations: 366.8 kB / 1.171 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002265/1.14, allocations: 0.4999 MB / 1.172 GB, free: 13.87 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003071/1.141, allocations: 139 kB / 1.172 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007356/1.148, allocations: 3.9 MB / 1.176 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.148, allocations: 4 kB / 1.176 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002947/1.151, allocations: 1.536 MB / 1.177 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/1.152, allocations: 112.9 kB / 1.177 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00884/1.161, allocations: 2.635 MB / 1.18 GB, free: 5.336 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.162, allocations: 1.184 MB / 1.181 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/1.162, allocations: 4 kB / 1.181 GB, free: 4.125 MB / 0.7917 GB Notification: Performance of Templates: time 0.04845/1.21, allocations: 33.11 MB / 1.214 GB, free: 3.059 MB / 0.823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches