Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.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.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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 8.0.1-maint.8.0.x/package.mo): time 1.322/1.322, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.0009992/0.0009992, allocations: 181.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.9853/0.9853, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007451/0.0007451, allocations: 93.31 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.763e-06/6.782e-06, allocations: 4 kB / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4049, allocations: 115.3 MB / 0.9637 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5674, allocations: 179.2 MB / 1.139 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5676, allocations: 93.75 kB / 1.139 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.1033/0.6709, allocations: 44.24 MB / 1.182 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.719e-05/0.671, allocations: 23.98 kB / 1.182 GB, free: 12.29 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.001701/0.6727, allocations: 0.9617 MB / 1.183 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6727, allocations: 12.53 kB / 1.183 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/0.6818, allocations: 1.255 MB / 1.184 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.6829, allocations: 0.6224 MB / 1.185 GB, free: 9.344 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.683, allocations: 16 kB / 1.185 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.6831, allocations: 36 kB / 1.185 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002118/0.6853, allocations: 1.348 MB / 1.186 GB, free: 7.945 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.6872, allocations: 1.38 MB / 1.187 GB, free: 6.492 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.6872, allocations: 7.938 kB / 1.187 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.6873, allocations: 4 kB / 1.187 GB, free: 6.48 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002893/0.6876, allocations: 143.2 kB / 1.188 GB, free: 6.344 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009286/0.6969, allocations: 6.555 MB / 1.194 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.698, allocations: 0.833 MB / 1.195 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007618/0.6988, allocations: 0.5757 MB / 1.195 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/0.7008, allocations: 1.478 MB / 1.197 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7008, allocations: 40.81 kB / 1.197 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=73): time 1.744e-06/0.7008, allocations: 4 kB / 1.197 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.01039/0.7112, allocations: 4.183 MB / 1.201 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.7113, allocations: 90.05 kB / 1.201 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.7118, allocations: 481.9 kB / 1.201 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.7119, allocations: 25.7 kB / 1.202 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.7121, allocations: 355.1 kB / 1.202 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.7124, allocations: 354.7 kB / 1.202 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/0.7125, allocations: 0 / 1.202 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7126, allocations: 394.8 kB / 1.203 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.7137, allocations: 0.7562 MB / 1.203 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/0.715, allocations: 1.078 MB / 1.204 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001963/0.7169, allocations: 1.022 MB / 1.205 GB, free: 3.496 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.717, allocations: 4.656 kB / 1.205 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006694/0.7237, allocations: 2.945 MB / 1.208 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00125/0.7249, allocations: 3.907 MB / 1.212 GB, free: 12.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.7249, allocations: 12 kB / 1.212 GB, free: 12.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003854/0.7288, allocations: 0.9569 MB / 1.213 GB, free: 11.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001946/0.7308, allocations: 387.5 kB / 1.213 GB, free: 10.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.7412, allocations: 8.361 MB / 1.222 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.7432, allocations: 211.6 kB / 1.222 GB, free: 2.023 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.7433, allocations: 63.97 kB / 1.222 GB, free: 1.961 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.86e-06/0.7433, allocations: 5.219 kB / 1.222 GB, free: 1.957 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004663/0.748, allocations: 2.335 MB / 1.224 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/0.748, allocations: 8 kB / 1.224 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.7497, allocations: 0.5748 MB / 1.225 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.7518, allocations: 415.4 kB / 1.225 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008238/0.7601, allocations: 8.083 MB / 1.233 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7618, allocations: 191.7 kB / 1.233 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.762, allocations: 59.97 kB / 1.233 GB, free: 5.828 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.0002616/0.7622, allocations: 136.5 kB / 1.233 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.7624, allocations: 83.08 kB / 1.233 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007073/0.7695, allocations: 3.006 MB / 1.236 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.7695, allocations: 15.98 kB / 1.236 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.7696, allocations: 4 kB / 1.236 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.7696, allocations: 7.969 kB / 1.236 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008642/0.7782, allocations: 4.568 MB / 1.241 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.7782, allocations: 10.5 kB / 1.241 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.7798, allocations: 291.6 kB / 1.241 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/0.7836, allocations: 1.028 MB / 1.242 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.7837, allocations: 23.91 kB / 1.242 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/0.7954, allocations: 9.699 MB / 1.252 GB, free: 2.363 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.7954, allocations: 14.36 kB / 1.252 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2145/1.01, allocations: 3.107 MB / 1.255 GB, free: 314.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/1.011, allocations: 342.7 kB / 1.255 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/1.011, allocations: 10.88 kB / 1.255 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001974/1.013, allocations: 220.6 kB / 1.255 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/1.013, allocations: 75.89 kB / 1.255 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.013, allocations: 47.92 kB / 1.255 GB, free: 314.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003402/1.013, allocations: 365.3 kB / 1.256 GB, free: 314.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0019/1.015, allocations: 0.5067 MB / 1.256 GB, free: 314.3 MB / 0.8542 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.0002332/1.016, allocations: 128.4 kB / 1.256 GB, free: 314.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005888/1.021, allocations: 3.913 MB / 1.26 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.022, allocations: 0 / 1.26 GB, free: 313.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.024, allocations: 1.526 MB / 1.262 GB, free: 313.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006772/1.025, allocations: 116.3 kB / 1.262 GB, free: 313.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00787/1.033, allocations: 2.644 MB / 1.264 GB, free: 312.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008601/1.033, allocations: 1.184 MB / 1.265 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of SimCode: time 3e-07/1.033, allocations: 0 / 1.265 GB, free: 311.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03889/1.072, allocations: 33.09 MB / 1.298 GB, free: 310.9 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1)