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.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.338/1.338, allocations: 249.4 MB / 256.7 MB, free: 7.016 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.001131/0.001131, allocations: 177.2 kB / 316 MB, free: 3.59 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.381/1.381, allocations: 205.1 MB / 0.5667 GB, free: 15.63 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.0009555/0.0009558, allocations: 91.75 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.566e-06/8.576e-06, allocations: 4 kB / 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.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6159/0.8155, allocations: 178.6 MB / 1.059 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.8158, allocations: 90.75 kB / 1.059 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1092/0.9251, allocations: 45.93 MB / 1.104 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.511e-05/0.9252, allocations: 20 kB / 1.104 GB, free: 4.363 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.002142/0.9273, allocations: 0.963 MB / 1.105 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.9274, allocations: 8.031 kB / 1.105 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009651/0.937, allocations: 1.255 MB / 1.106 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.9383, allocations: 0.6279 MB / 1.107 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.9384, allocations: 20 kB / 1.107 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.9386, allocations: 39.75 kB / 1.107 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002309/0.9409, allocations: 1.337 MB / 1.108 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002021/0.9429, allocations: 1.378 MB / 1.109 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.9429, allocations: 11.92 kB / 1.109 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.9431, allocations: 3.906 kB / 1.109 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003149/0.9434, allocations: 141 kB / 1.11 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/0.9535, allocations: 6.544 MB / 1.116 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.9549, allocations: 0.8396 MB / 1.117 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.9558, allocations: 0.5723 MB / 1.117 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002274/0.958, allocations: 1.488 MB / 1.119 GB, free: 6.625 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.9581, allocations: 38.56 kB / 1.119 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 2.635e-06/0.9581, allocations: 0 / 1.119 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of matching and sorting (n=107): time 0.01094/0.969, allocations: 4.188 MB / 1.123 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.9691, allocations: 90.05 kB / 1.123 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/0.9697, allocations: 478.1 kB / 1.123 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.546e-05/0.9698, allocations: 25.7 kB / 1.123 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.9701, allocations: 359.1 kB / 1.124 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.9704, allocations: 354.7 kB / 1.124 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.9705, allocations: 0 / 1.124 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.9707, allocations: 394.6 kB / 1.125 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.9719, allocations: 0.7562 MB / 1.125 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.9732, allocations: 1.082 MB / 1.126 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.9752, allocations: 1.022 MB / 1.127 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9752, allocations: 4 kB / 1.127 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006941/0.9822, allocations: 2.93 MB / 1.13 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001609/0.9838, allocations: 3.918 MB / 1.134 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.9838, allocations: 15.94 kB / 1.134 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/0.9878, allocations: 0.9437 MB / 1.135 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/0.9899, allocations: 395.4 kB / 1.135 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.001, allocations: 8.378 MB / 1.144 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.004, allocations: 203.7 kB / 1.144 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/1.004, allocations: 67.97 kB / 1.144 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.004, allocations: 4 kB / 1.144 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00493/1.009, allocations: 2.332 MB / 1.146 GB, free: 9.742 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/1.009, allocations: 8 kB / 1.146 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/1.011, allocations: 0.5619 MB / 1.147 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/1.013, allocations: 419.7 kB / 1.147 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009202/1.022, allocations: 8.098 MB / 1.155 GB, free: 200 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/1.024, allocations: 199.7 kB / 1.155 GB, free: 0 / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/1.024, allocations: 63.97 kB / 1.155 GB, free: 15.94 MB / 0.7761 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.0003886/1.025, allocations: 133.8 kB / 1.155 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/1.025, allocations: 82.97 kB / 1.155 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007561/1.033, allocations: 3.003 MB / 1.158 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/1.033, allocations: 12 kB / 1.158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.033, allocations: 4.562 kB / 1.158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.033, allocations: 11.97 kB / 1.158 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009635/1.042, allocations: 4.565 MB / 1.163 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/1.042, allocations: 7.938 kB / 1.163 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.044, allocations: 292.2 kB / 1.163 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003984/1.048, allocations: 1.029 MB / 1.164 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/1.048, allocations: 19.97 kB / 1.164 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.061, allocations: 9.698 MB / 1.174 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/1.061, allocations: 11.94 kB / 1.174 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007129/1.069, allocations: 3.112 MB / 1.177 GB, free: 9.086 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/1.069, allocations: 343.8 kB / 1.177 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/1.069, allocations: 11.98 kB / 1.177 GB, free: 8.719 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/1.071, allocations: 223.7 kB / 1.177 GB, free: 8.5 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/1.072, allocations: 72.38 kB / 1.177 GB, free: 8.43 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.072, allocations: 44.08 kB / 1.177 GB, free: 8.387 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004846/1.072, allocations: 366.9 kB / 1.178 GB, free: 8.031 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002318/1.075, allocations: 0.5038 MB / 1.178 GB, free: 7.527 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.000319/1.075, allocations: 137.4 kB / 1.178 GB, free: 7.387 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007594/1.083, allocations: 3.908 MB / 1.182 GB, free: 3.414 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.083, allocations: 4.625 kB / 1.182 GB, free: 3.41 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003157/1.086, allocations: 1.524 MB / 1.184 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/1.087, allocations: 120.2 kB / 1.184 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.097, allocations: 2.636 MB / 1.186 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.098, allocations: 1.188 MB / 1.187 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of SimCode: time 2.775e-06/1.098, allocations: 0 / 1.187 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of Templates: time 0.05535/1.154, allocations: 33.11 MB / 1.22 GB, free: 12.68 MB / 0.8386 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches