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.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.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.297/1.297, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009524/0.0009523, allocations: 173.3 kB / 361.1 MB, free: 7.074 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.9965/0.9965, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0007588/0.0007588, allocations: 87.77 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.54e-06/5.56e-06, allocations: 0 / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3984, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5586, allocations: 175.9 MB / 1.135 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5589, allocations: 92.92 kB / 1.136 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.09964/0.6585, allocations: 43.01 MB / 1.178 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.6586, allocations: 16 kB / 1.178 GB, free: 0.7383 MB / 0.7761 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.001739/0.6603, allocations: 0.9112 MB / 1.178 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6604, allocations: 12.53 kB / 1.178 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008523/0.6689, allocations: 1.189 MB / 1.18 GB, free: 14.58 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009798/0.6699, allocations: 0.5488 MB / 1.18 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.6699, allocations: 20 kB / 1.18 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6701, allocations: 32 kB / 1.18 GB, free: 13.94 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002062/0.6722, allocations: 1.268 MB / 1.181 GB, free: 12.67 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.6741, allocations: 1.294 MB / 1.183 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.6741, allocations: 7.938 kB / 1.183 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.6742, allocations: 0 / 1.183 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.6744, allocations: 101.1 kB / 1.183 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008287/0.6827, allocations: 6.249 MB / 1.189 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.6839, allocations: 0.9257 MB / 1.19 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.6847, allocations: 0.5721 MB / 1.19 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/0.6871, allocations: 2.218 MB / 1.193 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.6871, allocations: 50.55 kB / 1.193 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.6872, allocations: 0 / 1.193 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of matching and sorting (n=93): time 0.00851/0.6957, allocations: 3.573 MB / 1.196 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.6958, allocations: 195.8 kB / 1.196 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.6962, allocations: 433 kB / 1.197 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.898e-05/0.6963, allocations: 29.64 kB / 1.197 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.6965, allocations: 358.7 kB / 1.197 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.6967, allocations: 315.4 kB / 1.197 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.6968, allocations: 0 / 1.197 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.697, allocations: 374.8 kB / 1.198 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009036/0.6979, allocations: 0.6429 MB / 1.198 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.699, allocations: 0.9129 MB / 1.199 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.7007, allocations: 0.877 MB / 1.2 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.7007, allocations: 4 kB / 1.2 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005542/0.7062, allocations: 2.393 MB / 1.202 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.7073, allocations: 3.136 MB / 1.206 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.7073, allocations: 8 kB / 1.206 GB, free: 2.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002826/0.7102, allocations: 0.6685 MB / 1.206 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/0.7121, allocations: 391.4 kB / 1.207 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.72, allocations: 6.928 MB / 1.213 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.7219, allocations: 207.6 kB / 1.214 GB, free: 10.35 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.722, allocations: 59.97 kB / 1.214 GB, free: 10.29 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.722, allocations: 4 kB / 1.214 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003336/0.7254, allocations: 1.775 MB / 1.215 GB, free: 8.508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.7254, allocations: 8.438 kB / 1.215 GB, free: 8.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.726, allocations: 226.2 kB / 1.216 GB, free: 8.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.7282, allocations: 435.3 kB / 1.216 GB, free: 7.848 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.7316, allocations: 3.682 MB / 1.22 GB, free: 3.945 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.7332, allocations: 191.7 kB / 1.22 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.7334, allocations: 59.97 kB / 1.22 GB, free: 3.699 MB / 0.823 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.0002548/0.7336, allocations: 130.4 kB / 1.22 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.7339, allocations: 68.53 kB / 1.22 GB, free: 3.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005759/0.7397, allocations: 2.359 MB / 1.222 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7397, allocations: 16 kB / 1.222 GB, free: 1.129 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.7397, allocations: 4 kB / 1.222 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.7397, allocations: 7.984 kB / 1.222 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.7472, allocations: 4.122 MB / 1.226 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.7472, allocations: 5.031 kB / 1.226 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.7488, allocations: 295.6 kB / 1.227 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003008/0.7518, allocations: 0.7815 MB / 1.227 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.716e-05/0.7519, allocations: 23.97 kB / 1.227 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008564/0.7605, allocations: 7.912 MB / 1.235 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.7605, allocations: 8.062 kB / 1.235 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005079/0.7656, allocations: 2.696 MB / 1.238 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.7661, allocations: 312.1 kB / 1.238 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.7663, allocations: 7.984 kB / 1.238 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/0.7681, allocations: 207.7 kB / 1.238 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7683, allocations: 59.83 kB / 1.238 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.7684, allocations: 45.28 kB / 1.238 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0003333/0.7687, allocations: 322.9 kB / 1.239 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00159/0.7703, allocations: 443.9 kB / 1.239 GB, free: 15.09 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.0002449/0.7706, allocations: 131 kB / 1.239 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005054/0.7756, allocations: 3.119 MB / 1.242 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7756, allocations: 0 / 1.242 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.7775, allocations: 1.265 MB / 1.244 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.7781, allocations: 86.7 kB / 1.244 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008068/0.7862, allocations: 2.374 MB / 1.246 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.7873, allocations: 1.132 MB / 1.247 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/0.7873, allocations: 0 / 1.247 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of Templates: time 0.3142/1.102, allocations: 27.94 MB / 1.274 GB, free: 199.2 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1)