Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.313/1.313, allocations: 289.8 MB / 297 MB, free: 6.684 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.0009469/0.0009471, allocations: 173.3 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0007454/0.0007455, allocations: 86 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.646e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4092, allocations: 116.3 MB / 0.9726 GB, free: 68.81 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5809, allocations: 184.8 MB / 1.153 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5813, allocations: 95.88 kB / 1.153 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 0.1082/0.6895, allocations: 45.92 MB / 1.198 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.532e-05/0.6896, allocations: 16 kB / 1.198 GB, free: 13.24 MB / 0.8073 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.002077/0.6917, allocations: 0.9695 MB / 1.199 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.6917, allocations: 12.03 kB / 1.199 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009184/0.7009, allocations: 1.251 MB / 1.2 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.7023, allocations: 0.6224 MB / 1.201 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.7023, allocations: 20 kB / 1.201 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.7026, allocations: 35.91 kB / 1.201 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002296/0.7049, allocations: 1.342 MB / 1.202 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.707, allocations: 1.38 MB / 1.203 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.707, allocations: 7.922 kB / 1.203 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.7071, allocations: 4 kB / 1.203 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002895/0.7074, allocations: 133.5 kB / 1.204 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00982/0.7173, allocations: 6.565 MB / 1.21 GB, free: 388 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.7184, allocations: 0.8291 MB / 1.211 GB, free: 15.53 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.7192, allocations: 0.5757 MB / 1.211 GB, free: 14.95 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002054/0.7212, allocations: 1.485 MB / 1.213 GB, free: 13.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.7213, allocations: 42.5 kB / 1.213 GB, free: 13.35 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 2.806e-06/0.7213, allocations: 0 / 1.213 GB, free: 13.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=107): time 0.01051/0.7318, allocations: 4.19 MB / 1.217 GB, free: 9.145 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.7319, allocations: 86.05 kB / 1.217 GB, free: 9.043 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.7325, allocations: 482.1 kB / 1.218 GB, free: 8.562 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.7326, allocations: 29.7 kB / 1.218 GB, free: 8.527 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.7328, allocations: 355.1 kB / 1.218 GB, free: 8.172 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002937/0.7331, allocations: 354.7 kB / 1.218 GB, free: 7.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.7332, allocations: 0 / 1.218 GB, free: 7.82 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.7334, allocations: 390.7 kB / 1.219 GB, free: 7.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.7344, allocations: 0.7562 MB / 1.219 GB, free: 6.672 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.7357, allocations: 1.086 MB / 1.22 GB, free: 5.445 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.7376, allocations: 1.014 MB / 1.221 GB, free: 4.434 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7376, allocations: 8 kB / 1.221 GB, free: 4.426 MB / 0.823 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006589/0.7442, allocations: 2.933 MB / 1.224 GB, free: 1.469 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001282/0.7455, allocations: 3.911 MB / 1.228 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7455, allocations: 11.94 kB / 1.228 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003743/0.7492, allocations: 0.9515 MB / 1.229 GB, free: 12.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/0.7513, allocations: 391.4 kB / 1.229 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.7616, allocations: 8.374 MB / 1.238 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.7636, allocations: 207.8 kB / 1.238 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.7638, allocations: 59.97 kB / 1.238 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/0.7638, allocations: 4 kB / 1.238 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004518/0.7683, allocations: 2.339 MB / 1.24 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.7683, allocations: 12 kB / 1.24 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2126/0.981, allocations: 0.5591 MB / 1.241 GB, free: 295.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002001/0.983, allocations: 412.7 kB / 1.241 GB, free: 295.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006356/0.9894, allocations: 8.097 MB / 1.249 GB, free: 290.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/0.9911, allocations: 191.4 kB / 1.249 GB, free: 290.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.9912, allocations: 64.97 kB / 1.249 GB, free: 290.9 MB / 0.8386 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.0002593/0.9915, allocations: 145.6 kB / 1.249 GB, free: 290.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.9917, allocations: 81.3 kB / 1.249 GB, free: 290.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006214/0.9979, allocations: 2.991 MB / 1.252 GB, free: 290.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.9979, allocations: 12.66 kB / 1.252 GB, free: 290.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.9979, allocations: 9.531 kB / 1.252 GB, free: 290.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.9979, allocations: 7.906 kB / 1.252 GB, free: 290.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007318/1.005, allocations: 4.573 MB / 1.257 GB, free: 290 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.005, allocations: 3.625 kB / 1.257 GB, free: 290 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.007, allocations: 294 kB / 1.257 GB, free: 290 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/1.01, allocations: 1.031 MB / 1.258 GB, free: 290 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.543e-05/1.01, allocations: 24.98 kB / 1.258 GB, free: 290 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009384/1.02, allocations: 9.698 MB / 1.268 GB, free: 285.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/1.02, allocations: 9.375 kB / 1.268 GB, free: 285.2 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005203/1.025, allocations: 3.118 MB / 1.271 GB, free: 284.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/1.025, allocations: 341.2 kB / 1.271 GB, free: 284.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.026, allocations: 10.33 kB / 1.271 GB, free: 284.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/1.027, allocations: 225.5 kB / 1.271 GB, free: 284.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/1.028, allocations: 70.06 kB / 1.271 GB, free: 284.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/1.028, allocations: 45 kB / 1.271 GB, free: 284.1 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003294/1.028, allocations: 368 kB / 1.272 GB, free: 284.1 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001616/1.03, allocations: 0.494 MB / 1.272 GB, free: 284.1 MB / 0.8386 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.000207/1.03, allocations: 140.4 kB / 1.272 GB, free: 284 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005766/1.036, allocations: 3.913 MB / 1.276 GB, free: 283.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.036, allocations: 0 / 1.276 GB, free: 283.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00249/1.038, allocations: 1.534 MB / 1.278 GB, free: 282.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/1.039, allocations: 116.1 kB / 1.278 GB, free: 282.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/1.047, allocations: 2.633 MB / 1.28 GB, free: 282.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/1.048, allocations: 1.188 MB / 1.281 GB, free: 281.6 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.048, allocations: 0 / 1.281 GB, free: 281.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.04206/1.09, allocations: 33.11 MB / 1.314 GB, free: 280.3 MB / 0.8386 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1)