Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.111/2.111, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001584, allocations: 180.5 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 93.8 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.224e-05/1.228e-05, allocations: 4 kB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5394, allocations: 115.2 MB / 0.9628 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2508/0.7902, allocations: 157.9 MB / 1.117 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.7906, allocations: 88.55 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.06322/0.8538, allocations: 15.77 MB / 1.132 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.8539, allocations: 4 kB / 1.132 GB, free: 14.98 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.001096/0.855, allocations: 0.5214 MB / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.855, allocations: 12.03 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.8563, allocations: 100.9 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004685/0.8568, allocations: 253.3 kB / 1.133 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.8569, allocations: 8 kB / 1.133 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.8569, allocations: 12 kB / 1.133 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006345/0.8576, allocations: 228.7 kB / 1.134 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.8583, allocations: 337.3 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.8583, allocations: 0 / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.8584, allocations: 4 kB / 1.134 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.8584, allocations: 20.31 kB / 1.134 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002643/0.8611, allocations: 1.685 MB / 1.136 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.8617, allocations: 262.1 kB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.8621, allocations: 147.7 kB / 1.136 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.8623, allocations: 89.09 kB / 1.136 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.8623, allocations: 38.56 kB / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.8623, allocations: 0 / 1.136 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.001289/0.8636, allocations: 377.3 kB / 1.136 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.8637, allocations: 77.2 kB / 1.136 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.864, allocations: 177.6 kB / 1.137 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.864, allocations: 29.7 kB / 1.137 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8641, allocations: 149 kB / 1.137 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.8642, allocations: 74.92 kB / 1.137 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.8643, allocations: 0 / 1.137 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.8644, allocations: 326.8 kB / 1.137 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.8647, allocations: 108 kB / 1.137 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.8651, allocations: 202.4 kB / 1.137 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.8656, allocations: 151.6 kB / 1.138 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.8656, allocations: 4 kB / 1.138 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001107/0.8667, allocations: 392.8 kB / 1.138 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004901/0.8672, allocations: 1.044 MB / 1.139 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.8673, allocations: 7.938 kB / 1.139 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.8676, allocations: 40.83 kB / 1.139 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.8682, allocations: 72.45 kB / 1.139 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.8701, allocations: 1.403 MB / 1.141 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.8705, allocations: 23.88 kB / 1.141 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.8706, allocations: 19.98 kB / 1.141 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8706, allocations: 8.062 kB / 1.141 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009542/0.8716, allocations: 303.5 kB / 1.141 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8716, allocations: 4.75 kB / 1.141 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/0.8718, allocations: 49.34 kB / 1.141 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.8724, allocations: 63.89 kB / 1.141 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.8741, allocations: 1.416 MB / 1.142 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.8744, allocations: 27.83 kB / 1.142 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.8745, allocations: 12 kB / 1.142 GB, free: 4.078 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 0.0001492/0.8746, allocations: 112.8 kB / 1.142 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.994e-05/0.8748, allocations: 23.72 kB / 1.143 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.8758, allocations: 334 kB / 1.143 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.8758, allocations: 4 kB / 1.143 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.8758, allocations: 7.906 kB / 1.143 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8758, allocations: 0 / 1.143 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.878, allocations: 0.8904 MB / 1.144 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.878, allocations: 4 kB / 1.144 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.8784, allocations: 49.34 kB / 1.144 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.8787, allocations: 40.77 kB / 1.144 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.8787, allocations: 7.906 kB / 1.144 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.8802, allocations: 1.332 MB / 1.145 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.8802, allocations: 0 / 1.145 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00113/0.8814, allocations: 0.5988 MB / 1.146 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.8816, allocations: 124.8 kB / 1.146 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.8816, allocations: 3.984 kB / 1.146 GB, free: 276 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.882, allocations: 19.98 kB / 1.146 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.8821, allocations: 23.83 kB / 1.146 GB, free: 232 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.8822, allocations: 8 kB / 1.146 GB, free: 224 kB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0001719/0.8823, allocations: 140.2 kB / 1.146 GB, free: 84 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008491/0.8832, allocations: 108 kB / 1.146 GB, free: 15.97 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.0001975/0.8834, allocations: 127.1 kB / 1.146 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.8849, allocations: 0.6382 MB / 1.147 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8849, allocations: 320 / 1.147 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.8854, allocations: 245.6 kB / 1.147 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.8859, allocations: 23.97 kB / 1.147 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.8872, allocations: 430.7 kB / 1.148 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/0.8879, allocations: 0.795 MB / 1.148 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of SimCode: time 9.12e-07/0.8879, allocations: 0 / 1.148 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of Templates: time 0.01217/0.9001, allocations: 4.226 MB / 1.152 GB, free: 9.477 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)