Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.203/2.203, allocations: 253.1 MB / 260.4 MB, free: 11.81 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001577, allocations: 189.2 kB / 319.6 MB, free: 2.293 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.148/2.148, allocations: 205.4 MB / 0.5704 GB, free: 8.348 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001268, allocations: 99.48 kB / 0.6746 GB, free: 21.86 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.189e-05, allocations: 4 kB / 0.7843 GB, free: 5.465 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6311/0.6312, allocations: 106.2 MB / 0.888 GB, free: 64.56 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2863/0.9176, allocations: 151.6 MB / 1.036 GB, free: 4.711 MB / 0.6749 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004842/0.9181, allocations: 83.89 kB / 1.036 GB, free: 4.629 MB / 0.6749 GB Notification: Performance of FrontEnd: time 0.09337/1.012, allocations: 15.79 MB / 1.052 GB, free: 4.691 MB / 0.6905 GB Notification: Performance of Transformations before backend: time 3.765e-05/1.012, allocations: 11.94 kB / 1.052 GB, free: 4.68 MB / 0.6905 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.001754/1.013, allocations: 0.5174 MB / 1.052 GB, free: 4.113 MB / 0.6905 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/1.013, allocations: 16.03 kB / 1.052 GB, free: 4.098 MB / 0.6905 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/1.015, allocations: 91.61 kB / 1.052 GB, free: 4.008 MB / 0.6905 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/1.016, allocations: 250.6 kB / 1.052 GB, free: 3.723 MB / 0.6905 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.016, allocations: 8 kB / 1.052 GB, free: 3.715 MB / 0.6905 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.762e-05/1.016, allocations: 12 kB / 1.052 GB, free: 3.703 MB / 0.6905 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009443/1.017, allocations: 220.7 kB / 1.053 GB, free: 3.488 MB / 0.6905 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.019, allocations: 341.3 kB / 1.053 GB, free: 3.125 MB / 0.6905 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/1.019, allocations: 3.984 kB / 1.053 GB, free: 3.121 MB / 0.6905 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/1.019, allocations: 4 kB / 1.053 GB, free: 3.117 MB / 0.6905 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.114e-05/1.019, allocations: 24.31 kB / 1.053 GB, free: 3.09 MB / 0.6905 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004694/1.024, allocations: 1.681 MB / 1.055 GB, free: 1.285 MB / 0.6905 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/1.025, allocations: 261.2 kB / 1.055 GB, free: 1.012 MB / 0.6905 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/1.025, allocations: 141.7 kB / 1.055 GB, free: 0.8672 MB / 0.6905 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/1.026, allocations: 93.08 kB / 1.055 GB, free: 0.7578 MB / 0.6905 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/1.026, allocations: 38.88 kB / 1.055 GB, free: 0.7109 MB / 0.6905 GB Notification: Performance of pre-optimization done (n=20): time 5.18e-06/1.026, allocations: 0 / 1.055 GB, free: 0.7109 MB / 0.6905 GB Notification: Performance of matching and sorting (n=21): time 0.00201/1.028, allocations: 374.8 kB / 1.055 GB, free: 344 kB / 0.6905 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/1.028, allocations: 81.2 kB / 1.056 GB, free: 244 kB / 0.6905 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/1.028, allocations: 177.6 kB / 1.056 GB, free: 60 kB / 0.6905 GB Notification: Performance of collectPreVariables (initialization): time 7.099e-05/1.028, allocations: 25.7 kB / 1.056 GB, free: 28 kB / 0.6905 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.029, allocations: 155.8 kB / 1.056 GB, free: 15.87 MB / 0.7062 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/1.029, allocations: 67 kB / 1.056 GB, free: 15.8 MB / 0.7062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/1.029, allocations: 7.938 kB / 1.056 GB, free: 15.8 MB / 0.7062 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.029, allocations: 326.8 kB / 1.056 GB, free: 15.47 MB / 0.7062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/1.029, allocations: 112 kB / 1.056 GB, free: 15.36 MB / 0.7062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/1.03, allocations: 190.4 kB / 1.057 GB, free: 15.13 MB / 0.7062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/1.031, allocations: 159 kB / 1.057 GB, free: 14.98 MB / 0.7062 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.715e-05/1.031, allocations: 4 kB / 1.057 GB, free: 14.98 MB / 0.7062 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001558/1.032, allocations: 388.8 kB / 1.057 GB, free: 14.59 MB / 0.7062 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005967/1.033, allocations: 1.043 MB / 1.058 GB, free: 13.46 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.033, allocations: 4 kB / 1.058 GB, free: 13.46 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/1.033, allocations: 44.83 kB / 1.058 GB, free: 13.41 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008061/1.034, allocations: 71.88 kB / 1.058 GB, free: 13.34 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/1.037, allocations: 1.411 MB / 1.06 GB, free: 11.8 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/1.038, allocations: 23.95 kB / 1.06 GB, free: 11.78 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/1.038, allocations: 16.06 kB / 1.06 GB, free: 11.77 MB / 0.7062 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.038, allocations: 4 kB / 1.06 GB, free: 11.76 MB / 0.7062 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/1.039, allocations: 322.4 kB / 1.06 GB, free: 11.45 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.039, allocations: 0 / 1.06 GB, free: 11.45 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000299/1.04, allocations: 53.09 kB / 1.06 GB, free: 11.39 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/1.04, allocations: 67.89 kB / 1.06 GB, free: 11.32 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/1.043, allocations: 1.398 MB / 1.061 GB, free: 9.809 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005318/1.043, allocations: 23.88 kB / 1.061 GB, free: 9.785 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/1.043, allocations: 12 kB / 1.061 GB, free: 9.773 MB / 0.7062 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.0002472/1.044, allocations: 113 kB / 1.062 GB, free: 9.656 MB / 0.7062 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/1.044, allocations: 23.72 kB / 1.062 GB, free: 9.633 MB / 0.7062 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.045, allocations: 334.1 kB / 1.062 GB, free: 9.305 MB / 0.7062 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.045, allocations: 8 kB / 1.062 GB, free: 9.297 MB / 0.7062 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.045, allocations: 4.062 kB / 1.062 GB, free: 9.293 MB / 0.7062 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.045, allocations: 0 / 1.062 GB, free: 9.293 MB / 0.7062 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/1.048, allocations: 0.8941 MB / 1.063 GB, free: 8.332 MB / 0.7062 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.048, allocations: 4 kB / 1.063 GB, free: 8.328 MB / 0.7062 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/1.049, allocations: 47.91 kB / 1.063 GB, free: 8.281 MB / 0.7062 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/1.049, allocations: 36.83 kB / 1.063 GB, free: 8.242 MB / 0.7062 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/1.049, allocations: 0 / 1.063 GB, free: 8.242 MB / 0.7062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/1.052, allocations: 1.342 MB / 1.064 GB, free: 6.785 MB / 0.7062 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/1.052, allocations: 3.969 kB / 1.064 GB, free: 6.781 MB / 0.7062 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001487/1.053, allocations: 0.5939 MB / 1.065 GB, free: 6.105 MB / 0.7062 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/1.053, allocations: 136.7 kB / 1.065 GB, free: 5.953 MB / 0.7062 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/1.054, allocations: 4 kB / 1.065 GB, free: 5.949 MB / 0.7062 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005716/1.054, allocations: 15.98 kB / 1.065 GB, free: 5.934 MB / 0.7062 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.054, allocations: 15.97 kB / 1.065 GB, free: 5.918 MB / 0.7062 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/1.054, allocations: 12 kB / 1.065 GB, free: 5.906 MB / 0.7062 GB Notification: Performance of sort global known variables: time 0.0002559/1.055, allocations: 136.2 kB / 1.065 GB, free: 5.773 MB / 0.7062 GB Notification: Performance of remove unused functions: time 0.00139/1.056, allocations: 111.9 kB / 1.065 GB, free: 5.664 MB / 0.7062 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.0003671/1.056, allocations: 115.1 kB / 1.065 GB, free: 5.543 MB / 0.7062 GB Notification: Performance of simCode: created initialization part: time 0.002092/1.059, allocations: 0.6377 MB / 1.066 GB, free: 4.883 MB / 0.7062 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/1.059, allocations: 4.125 kB / 1.066 GB, free: 4.879 MB / 0.7062 GB Notification: Performance of simCode: created simulation system equations: time 0.0007558/1.059, allocations: 241.7 kB / 1.066 GB, free: 4.633 MB / 0.7062 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/1.06, allocations: 27.08 kB / 1.066 GB, free: 4.609 MB / 0.7062 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/1.062, allocations: 426.8 kB / 1.067 GB, free: 4.148 MB / 0.7062 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009783/1.063, allocations: 0.795 MB / 1.067 GB, free: 3.328 MB / 0.7062 GB Notification: Performance of SimCode: time 2.735e-06/1.064, allocations: 4 kB / 1.067 GB, free: 3.324 MB / 0.7062 GB Notification: Performance of Templates: time 0.01953/1.083, allocations: 4.224 MB / 1.072 GB, free: 15.11 MB / 0.7218 GB