Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer") [: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 8.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 189.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9735/0.9735, allocations: 205.1 MB / 0.6195 GB, free: 10.36 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 97.88 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.019e-06/5.039e-06, allocations: 0 / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3861, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.5455, allocations: 179.7 MB / 1.139 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5458, allocations: 88.55 kB / 1.139 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1032/0.649, allocations: 44.08 MB / 1.182 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.649, allocations: 19.98 kB / 1.182 GB, free: 11.91 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.001596/0.6507, allocations: 0.9073 MB / 1.183 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.6507, allocations: 8.031 kB / 1.183 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/0.6594, allocations: 1.185 MB / 1.184 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.6603, allocations: 0.5566 MB / 1.185 GB, free: 9.168 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.6603, allocations: 20 kB / 1.185 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6604, allocations: 36 kB / 1.185 GB, free: 9.113 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002036/0.6625, allocations: 1.264 MB / 1.186 GB, free: 7.852 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.6643, allocations: 1.287 MB / 1.187 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.6643, allocations: 7.938 kB / 1.187 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6644, allocations: 4 kB / 1.187 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.6646, allocations: 105 kB / 1.188 GB, free: 6.367 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008356/0.673, allocations: 6.254 MB / 1.194 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.6742, allocations: 0.9179 MB / 1.195 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007419/0.675, allocations: 0.5673 MB / 1.195 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002435/0.6774, allocations: 2.218 MB / 1.197 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.6775, allocations: 46.56 kB / 1.197 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=69): time 1.923e-06/0.6775, allocations: 4 kB / 1.197 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=93): time 0.008691/0.6862, allocations: 3.581 MB / 1.201 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.6863, allocations: 191.9 kB / 1.201 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.6867, allocations: 440.8 kB / 1.201 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.79e-05/0.6868, allocations: 33.64 kB / 1.201 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.687, allocations: 350.8 kB / 1.202 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.6873, allocations: 315.4 kB / 1.202 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.6874, allocations: 0 / 1.202 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6875, allocations: 380.2 kB / 1.202 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.6884, allocations: 0.6429 MB / 1.203 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.6895, allocations: 0.9165 MB / 1.204 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.6913, allocations: 0.8738 MB / 1.205 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6913, allocations: 4 kB / 1.205 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005588/0.6969, allocations: 2.394 MB / 1.207 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.698, allocations: 3.132 MB / 1.21 GB, free: 14.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.698, allocations: 12 kB / 1.21 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.7009, allocations: 0.6661 MB / 1.211 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.7029, allocations: 395.4 kB / 1.211 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0082/0.7111, allocations: 6.923 MB / 1.218 GB, free: 5.738 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.7131, allocations: 199.7 kB / 1.218 GB, free: 5.543 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.7132, allocations: 63.97 kB / 1.218 GB, free: 5.48 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.7132, allocations: 8 kB / 1.218 GB, free: 5.473 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003508/0.7168, allocations: 1.774 MB / 1.22 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.7168, allocations: 9 kB / 1.22 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006285/0.7174, allocations: 223.9 kB / 1.22 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.7197, allocations: 435.3 kB / 1.221 GB, free: 3.035 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.7232, allocations: 3.668 MB / 1.224 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.725, allocations: 195.7 kB / 1.224 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.7251, allocations: 60.91 kB / 1.224 GB, free: 14.89 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000246/0.7254, allocations: 128.7 kB / 1.225 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000267/0.7256, allocations: 77.2 kB / 1.225 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005976/0.7316, allocations: 2.354 MB / 1.227 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.7316, allocations: 11.91 kB / 1.227 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.7317, allocations: 8 kB / 1.227 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.7317, allocations: 4.984 kB / 1.227 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007821/0.7395, allocations: 4.109 MB / 1.231 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.7395, allocations: 12.53 kB / 1.231 GB, free: 8.059 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.7412, allocations: 295.5 kB / 1.231 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003167/0.7444, allocations: 0.7917 MB / 1.232 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.937e-05/0.7445, allocations: 23.97 kB / 1.232 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008835/0.7533, allocations: 7.909 MB / 1.24 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.7533, allocations: 11.94 kB / 1.24 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005197/0.7585, allocations: 2.691 MB / 1.242 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005243/0.7591, allocations: 321.9 kB / 1.243 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.7593, allocations: 11.98 kB / 1.243 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.7612, allocations: 207.7 kB / 1.243 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.7613, allocations: 60.7 kB / 1.243 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.7614, allocations: 43.97 kB / 1.243 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003698/0.7618, allocations: 330.9 kB / 1.243 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001737/0.7635, allocations: 436 kB / 1.244 GB, free: 10.26 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.7638, allocations: 134.9 kB / 1.244 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005282/0.769, allocations: 3.11 MB / 1.247 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.7691, allocations: 0 / 1.247 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.771, allocations: 1.274 MB / 1.248 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.7716, allocations: 85.94 kB / 1.248 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.7799, allocations: 2.378 MB / 1.251 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.781, allocations: 1.136 MB / 1.252 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of SimCode: time 3.5e-07/0.781, allocations: 4 kB / 1.252 GB, free: 1.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.2366/1.018, allocations: 27.95 MB / 1.279 GB, free: 314.7 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformer.pipe 2>&1)