Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [: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.296/1.296, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.000894/0.000894, allocations: 183.5 kB / 361.1 MB, free: 7.117 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.9874/0.9874, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007797/0.0007797, allocations: 84.34 kB / 0.7326 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/7.053e-06, allocations: 4 kB / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.3992, allocations: 115.3 MB / 0.9637 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.5459, allocations: 158 MB / 1.118 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/0.5461, allocations: 83.95 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.03753/0.5837, allocations: 15.78 MB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.5837, allocations: 8 kB / 1.133 GB, free: 14.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007165/0.5844, allocations: 0.5175 MB / 1.134 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.5845, allocations: 8.031 kB / 1.134 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.5853, allocations: 95.61 kB / 1.134 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.5856, allocations: 258.6 kB / 1.134 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.5856, allocations: 12 kB / 1.134 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.288e-05/0.5857, allocations: 8 kB / 1.134 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003863/0.5861, allocations: 228.7 kB / 1.135 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.5865, allocations: 337.3 kB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5866, allocations: 4 kB / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.5866, allocations: 0 / 1.135 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/0.5866, allocations: 25.67 kB / 1.135 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.5884, allocations: 1.67 MB / 1.137 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.5888, allocations: 276.2 kB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.589, allocations: 141.7 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.5891, allocations: 89.09 kB / 1.137 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5892, allocations: 34.56 kB / 1.137 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.5892, allocations: 7.938 kB / 1.137 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0008456/0.59, allocations: 372.3 kB / 1.137 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.5901, allocations: 81.11 kB / 1.138 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.5903, allocations: 178.8 kB / 1.138 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.5903, allocations: 29.64 kB / 1.138 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.5904, allocations: 147.9 kB / 1.138 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.5904, allocations: 74.91 kB / 1.138 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.5905, allocations: 4.094 kB / 1.138 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5906, allocations: 322.8 kB / 1.138 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.5907, allocations: 116 kB / 1.138 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5909, allocations: 190.4 kB / 1.139 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.5912, allocations: 153.7 kB / 1.139 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5912, allocations: 0 / 1.139 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006706/0.5919, allocations: 394.9 kB / 1.139 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003502/0.5923, allocations: 1.051 MB / 1.14 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.5923, allocations: 0 / 1.14 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.5925, allocations: 44.81 kB / 1.14 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.5929, allocations: 71.89 kB / 1.14 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.5941, allocations: 1.404 MB / 1.142 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.5944, allocations: 27.94 kB / 1.142 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5944, allocations: 19.98 kB / 1.142 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.112e-06/0.5944, allocations: 5.562 kB / 1.142 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005773/0.595, allocations: 311.2 kB / 1.142 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.595, allocations: 4 kB / 1.142 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.5951, allocations: 40.83 kB / 1.142 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.5954, allocations: 67.89 kB / 1.142 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.5965, allocations: 1.408 MB / 1.143 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.5967, allocations: 31.94 kB / 1.143 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.5967, allocations: 8 kB / 1.143 GB, free: 3.211 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/0.5968, allocations: 108.9 kB / 1.144 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.5969, allocations: 19.72 kB / 1.144 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.5975, allocations: 342.4 kB / 1.144 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5975, allocations: 7.281 kB / 1.144 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5975, allocations: 3.906 kB / 1.144 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5975, allocations: 0 / 1.144 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.5988, allocations: 0.8902 MB / 1.145 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.5988, allocations: 0 / 1.145 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.5991, allocations: 55.91 kB / 1.145 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.5992, allocations: 37.05 kB / 1.145 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.5992, allocations: 7.906 kB / 1.145 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009621/0.6002, allocations: 1.34 MB / 1.146 GB, free: 220 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.6002, allocations: 4 kB / 1.146 GB, free: 216 kB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006315/0.6009, allocations: 0.5975 MB / 1.147 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.601, allocations: 123.7 kB / 1.147 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.601, allocations: 4 kB / 1.147 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.6013, allocations: 19.92 kB / 1.147 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.6013, allocations: 23.89 kB / 1.147 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.6014, allocations: 7.984 kB / 1.147 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001146/0.6015, allocations: 140.2 kB / 1.147 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005675/0.6021, allocations: 111.9 kB / 1.147 GB, free: 15.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.6022, allocations: 122.9 kB / 1.147 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008568/0.6031, allocations: 0.6369 MB / 1.148 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6031, allocations: 0 / 1.148 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.6034, allocations: 250.9 kB / 1.148 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.6037, allocations: 22.02 kB / 1.148 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007993/0.6045, allocations: 425.9 kB / 1.149 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.6049, allocations: 0.8036 MB / 1.149 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of SimCode: time 2.9e-07/0.605, allocations: 0 / 1.149 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.007209/0.6122, allocations: 4.225 MB / 1.153 GB, free: 8.602 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)