Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [: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.338/2.338, allocations: 253.1 MB / 260.4 MB, free: 7.527 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001557/0.001556, allocations: 177 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5704 GB, free: 15.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001845/0.001845, allocations: 99.31 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.018e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2244, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6778/0.9023, allocations: 155.1 MB / 1.04 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/0.9028, allocations: 92.38 kB / 1.04 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07442/0.9772, allocations: 17.23 MB / 1.056 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.9773, allocations: 7.984 kB / 1.056 GB, free: 2.418 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001709/0.979, allocations: 0.6087 MB / 1.057 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.9791, allocations: 12.02 kB / 1.057 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.9805, allocations: 103.5 kB / 1.057 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.9811, allocations: 281 kB / 1.057 GB, free: 1.375 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.9811, allocations: 8 kB / 1.057 GB, free: 1.367 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-05/0.9812, allocations: 12 kB / 1.057 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007819/0.982, allocations: 256.7 kB / 1.058 GB, free: 1.188 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.9829, allocations: 349.5 kB / 1.058 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9829, allocations: 7.922 kB / 1.058 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.983, allocations: 4 kB / 1.058 GB, free: 0.8828 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.753e-05/0.983, allocations: 24.3 kB / 1.058 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.9864, allocations: 1.611 MB / 1.06 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/0.9874, allocations: 334 kB / 1.06 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.9879, allocations: 156.1 kB / 1.06 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.9882, allocations: 93.09 kB / 1.06 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005244/0.9887, allocations: 219.5 kB / 1.06 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=27): time 6.943e-06/0.9887, allocations: 0 / 1.06 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=28): time 0.001845/0.9906, allocations: 433.2 kB / 1.061 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.9907, allocations: 85.2 kB / 1.061 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.991, allocations: 193.8 kB / 1.061 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.9911, allocations: 25.7 kB / 1.061 GB, free: 14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.9912, allocations: 147.4 kB / 1.061 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.9913, allocations: 90.47 kB / 1.061 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.9914, allocations: 3.938 kB / 1.061 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.9916, allocations: 334.7 kB / 1.062 GB, free: 13.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.9919, allocations: 129.8 kB / 1.062 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/0.9924, allocations: 203.1 kB / 1.062 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.993, allocations: 161.1 kB / 1.062 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.993, allocations: 3.938 kB / 1.062 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001414/0.9944, allocations: 435.3 kB / 1.063 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.9948, allocations: 0.8744 MB / 1.063 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.9949, allocations: 4 kB / 1.063 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.9952, allocations: 47.69 kB / 1.063 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.9961, allocations: 87.88 kB / 1.064 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.9981, allocations: 1.413 MB / 1.065 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.9989, allocations: 51.16 kB / 1.065 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.9989, allocations: 12 kB / 1.065 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.9989, allocations: 4 kB / 1.065 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/1, allocations: 351.2 kB / 1.065 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/1, allocations: 288 / 1.065 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/1, allocations: 40.7 kB / 1.065 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/1.001, allocations: 91.56 kB / 1.065 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/1.003, allocations: 1.399 MB / 1.067 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/1.004, allocations: 43.88 kB / 1.067 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/1.004, allocations: 15.38 kB / 1.067 GB, free: 8.285 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002144/1.004, allocations: 120.4 kB / 1.067 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/1.004, allocations: 31.69 kB / 1.067 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/1.005, allocations: 397.1 kB / 1.067 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.005, allocations: 7.984 kB / 1.067 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.005, allocations: 4 kB / 1.067 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.005, allocations: 0 / 1.067 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/1.006, allocations: 0.5126 MB / 1.068 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/1.006, allocations: 0 / 1.068 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/1.007, allocations: 76.03 kB / 1.068 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/1.007, allocations: 39.39 kB / 1.068 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/1.008, allocations: 4 kB / 1.068 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/1.009, allocations: 1.34 MB / 1.069 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.009, allocations: 0 / 1.069 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001246/1.01, allocations: 0.5055 MB / 1.07 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/1.011, allocations: 141.4 kB / 1.07 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/1.011, allocations: 4 kB / 1.07 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/1.011, allocations: 39.95 kB / 1.07 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/1.012, allocations: 26.95 kB / 1.07 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.102e-05/1.012, allocations: 8.141 kB / 1.07 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002278/1.012, allocations: 158.4 kB / 1.07 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000928/1.013, allocations: 127.9 kB / 1.07 GB, free: 4.895 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002632/1.013, allocations: 130.8 kB / 1.07 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002021/1.015, allocations: 0.772 MB / 1.071 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.015, allocations: 0 / 1.071 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/1.016, allocations: 278.5 kB / 1.071 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/1.016, allocations: 31.36 kB / 1.071 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/1.018, allocations: 473.9 kB / 1.072 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006834/1.019, allocations: 0.8217 MB / 1.073 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/1.019, allocations: 0 / 1.073 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of Templates: time 0.01703/1.036, allocations: 5.705 MB / 1.078 GB, free: 12.93 MB / 0.698 GB