Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") [: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.382/2.382, allocations: 253.1 MB / 260.4 MB, free: 11.73 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.001848/0.001848, allocations: 186 kB / 319.6 MB, free: 2.328 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.005/2.005, allocations: 205.4 MB / 0.5704 GB, free: 8.352 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.001247/0.001246, allocations: 96.83 kB / 0.6746 GB, free: 21.87 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.246e-05/1.262e-05, allocations: 4 kB / 0.7843 GB, free: 5.465 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/0.6008, allocations: 106.2 MB / 0.888 GB, free: 64.54 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2787/0.8796, allocations: 162.6 MB / 1.047 GB, free: 9.684 MB / 0.6905 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/0.8801, allocations: 87.94 kB / 1.047 GB, free: 9.598 MB / 0.6905 GB Notification: Performance of FrontEnd: time 0.07645/0.9566, allocations: 17.69 MB / 1.064 GB, free: 7.746 MB / 0.7062 GB Notification: Performance of Transformations before backend: time 3.292e-05/0.9567, allocations: 12 kB / 1.064 GB, free: 7.734 MB / 0.7062 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001307/0.958, allocations: 0.537 MB / 1.065 GB, free: 7.152 MB / 0.7062 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.9581, allocations: 8.531 kB / 1.065 GB, free: 7.145 MB / 0.7062 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.9594, allocations: 107.4 kB / 1.065 GB, free: 7.039 MB / 0.7062 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005621/0.96, allocations: 257.5 kB / 1.065 GB, free: 6.746 MB / 0.7062 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.9601, allocations: 8 kB / 1.065 GB, free: 6.738 MB / 0.7062 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.9601, allocations: 12 kB / 1.065 GB, free: 6.727 MB / 0.7062 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000816/0.961, allocations: 260.8 kB / 1.065 GB, free: 6.473 MB / 0.7062 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.9618, allocations: 349 kB / 1.066 GB, free: 6.102 MB / 0.7062 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.9619, allocations: 4 kB / 1.066 GB, free: 6.098 MB / 0.7062 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/0.9619, allocations: 0 / 1.066 GB, free: 6.098 MB / 0.7062 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.424e-05/0.962, allocations: 19.98 kB / 1.066 GB, free: 6.078 MB / 0.7062 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.9654, allocations: 1.676 MB / 1.067 GB, free: 4.27 MB / 0.7062 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.9662, allocations: 277.1 kB / 1.068 GB, free: 3.98 MB / 0.7062 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.9666, allocations: 177.7 kB / 1.068 GB, free: 3.801 MB / 0.7062 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002648/0.9669, allocations: 93.09 kB / 1.068 GB, free: 3.691 MB / 0.7062 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/0.9669, allocations: 34.5 kB / 1.068 GB, free: 3.648 MB / 0.7062 GB Notification: Performance of pre-optimization done (n=25): time 2.925e-06/0.9669, allocations: 0 / 1.068 GB, free: 3.648 MB / 0.7062 GB Notification: Performance of matching and sorting (n=35): time 0.005767/0.9727, allocations: 1.101 MB / 1.069 GB, free: 2.539 MB / 0.7062 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.9728, allocations: 81.11 kB / 1.069 GB, free: 2.441 MB / 0.7062 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.9731, allocations: 153.5 kB / 1.069 GB, free: 2.285 MB / 0.7062 GB Notification: Performance of collectPreVariables (initialization): time 5.725e-05/0.9731, allocations: 25.7 kB / 1.069 GB, free: 2.254 MB / 0.7062 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.9733, allocations: 144.4 kB / 1.069 GB, free: 2.105 MB / 0.7062 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.9734, allocations: 114.3 kB / 1.069 GB, free: 1.992 MB / 0.7062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.9735, allocations: 0 / 1.069 GB, free: 1.992 MB / 0.7062 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.9736, allocations: 338.7 kB / 1.07 GB, free: 1.652 MB / 0.7062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005947/0.9743, allocations: 215.9 kB / 1.07 GB, free: 1.441 MB / 0.7062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006866/0.975, allocations: 309.3 kB / 1.07 GB, free: 1.105 MB / 0.7062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.9763, allocations: 306 kB / 1.071 GB, free: 0.8086 MB / 0.7062 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.9763, allocations: 0 / 1.071 GB, free: 0.8086 MB / 0.7062 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002125/0.9784, allocations: 0.6182 MB / 1.071 GB, free: 188 kB / 0.7062 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005246/0.979, allocations: 0.8743 MB / 1.072 GB, free: 15.24 MB / 0.7218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.979, allocations: 4 kB / 1.072 GB, free: 15.24 MB / 0.7218 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.9791, allocations: 4 kB / 1.072 GB, free: 15.23 MB / 0.7218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.9812, allocations: 147.8 kB / 1.072 GB, free: 15.09 MB / 0.7218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.994e-05/0.9812, allocations: 11.92 kB / 1.072 GB, free: 15.08 MB / 0.7218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.982, allocations: 39.84 kB / 1.072 GB, free: 15.04 MB / 0.7218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.9821, allocations: 19.98 kB / 1.072 GB, free: 15.02 MB / 0.7218 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.9822, allocations: 4 kB / 1.072 GB, free: 15.02 MB / 0.7218 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/0.9839, allocations: 459.5 kB / 1.073 GB, free: 14.57 MB / 0.7218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.984, allocations: 7.906 kB / 1.073 GB, free: 14.56 MB / 0.7218 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.984, allocations: 4 kB / 1.073 GB, free: 14.55 MB / 0.7218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.9855, allocations: 140 kB / 1.073 GB, free: 14.42 MB / 0.7218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.9856, allocations: 4 kB / 1.073 GB, free: 14.41 MB / 0.7218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/0.9862, allocations: 31.97 kB / 1.073 GB, free: 14.38 MB / 0.7218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.9863, allocations: 16 kB / 1.073 GB, free: 14.37 MB / 0.7218 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.9865, allocations: 104.9 kB / 1.073 GB, free: 14.26 MB / 0.7218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.9866, allocations: 23.72 kB / 1.073 GB, free: 14.23 MB / 0.7218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.989, allocations: 0.6537 MB / 1.074 GB, free: 13.57 MB / 0.7218 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.989, allocations: 4.047 kB / 1.074 GB, free: 13.57 MB / 0.7218 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.9891, allocations: 3.984 kB / 1.074 GB, free: 13.56 MB / 0.7218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.9891, allocations: 3.984 kB / 1.074 GB, free: 13.56 MB / 0.7218 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.9929, allocations: 1.282 MB / 1.075 GB, free: 12.19 MB / 0.7218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.9929, allocations: 4 kB / 1.075 GB, free: 12.19 MB / 0.7218 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.9943, allocations: 128.1 kB / 1.075 GB, free: 12.06 MB / 0.7218 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.9943, allocations: 4 kB / 1.075 GB, free: 12.06 MB / 0.7218 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.9944, allocations: 4 kB / 1.075 GB, free: 12.05 MB / 0.7218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/0.9944, allocations: 7.984 kB / 1.075 GB, free: 12.05 MB / 0.7218 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.9944, allocations: 4 kB / 1.075 GB, free: 12.04 MB / 0.7218 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001821/0.9963, allocations: 0.7787 MB / 1.076 GB, free: 11.18 MB / 0.7218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/0.9966, allocations: 144.7 kB / 1.076 GB, free: 11.02 MB / 0.7218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.9967, allocations: 8 kB / 1.076 GB, free: 11.01 MB / 0.7218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.9974, allocations: 39.95 kB / 1.076 GB, free: 10.97 MB / 0.7218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.9975, allocations: 27.81 kB / 1.076 GB, free: 10.94 MB / 0.7218 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.9976, allocations: 12 kB / 1.076 GB, free: 10.93 MB / 0.7218 GB Notification: Performance of sort global known variables: time 0.0001918/0.9978, allocations: 142.9 kB / 1.076 GB, free: 10.79 MB / 0.7218 GB Notification: Performance of remove unused functions: time 0.001032/0.9988, allocations: 139.9 kB / 1.076 GB, free: 10.65 MB / 0.7218 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003412/0.9992, allocations: 151 kB / 1.076 GB, free: 10.5 MB / 0.7218 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.001, allocations: 0.715 MB / 1.077 GB, free: 9.781 MB / 0.7218 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.001, allocations: 1.125 kB / 1.077 GB, free: 9.781 MB / 0.7218 GB Notification: Performance of simCode: created simulation system equations: time 0.0006291/1.002, allocations: 232.1 kB / 1.077 GB, free: 9.555 MB / 0.7218 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/1.003, allocations: 32.77 kB / 1.077 GB, free: 9.523 MB / 0.7218 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/1.005, allocations: 0.5785 MB / 1.078 GB, free: 8.902 MB / 0.7218 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/1.006, allocations: 0.8277 MB / 1.079 GB, free: 8.051 MB / 0.7218 GB Notification: Performance of SimCode: time 1.323e-06/1.006, allocations: 0 / 1.079 GB, free: 8.051 MB / 0.7218 GB Notification: Performance of Templates: time 0.01996/1.026, allocations: 6.587 MB / 1.085 GB, free: 1.508 MB / 0.7218 GB