Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") [: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.272/2.272, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001631/0.001631, allocations: 169.3 kB / 319.6 MB, free: 3.32 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.102/2.102, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001288/0.001288, allocations: 94.44 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.839e-06/1.003e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2129, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7655/0.9784, allocations: 173.4 MB / 1.057 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/0.9789, allocations: 98.98 kB / 1.058 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.42/1.399, allocations: 99.15 MB / 1.154 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001322/1.399, allocations: 48 kB / 1.154 GB, free: 5.215 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.01047/1.41, allocations: 2.275 MB / 1.157 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.41, allocations: 8.031 kB / 1.157 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006821/1.417, allocations: 0.5668 MB / 1.157 GB, free: 2.305 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005868/1.422, allocations: 1.474 MB / 1.159 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/1.423, allocations: 88 kB / 1.159 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/1.424, allocations: 160 kB / 1.159 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01313/1.437, allocations: 3.361 MB / 1.162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/1.454, allocations: 3.929 MB / 1.166 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.977e-05/1.454, allocations: 0 / 1.166 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000978/1.455, allocations: 3.906 kB / 1.166 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002454/1.456, allocations: 148.6 kB / 1.166 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04255/1.498, allocations: 19.79 MB / 1.185 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/1.501, allocations: 1.096 MB / 1.186 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/1.503, allocations: 0.7784 MB / 1.187 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/1.504, allocations: 105.7 kB / 1.187 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/1.504, allocations: 51.16 kB / 1.187 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=77): time 5.521e-06/1.504, allocations: 3.984 kB / 1.187 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of matching and sorting (n=92): time 0.01605/1.52, allocations: 3.95 MB / 1.191 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.5e-05/1.52, allocations: 145.3 kB / 1.191 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/1.522, allocations: 0.8545 MB / 1.192 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002844/1.522, allocations: 25.7 kB / 1.192 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/1.523, allocations: 1.141 MB / 1.193 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/1.524, allocations: 323.4 kB / 1.194 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.524, allocations: 4.094 kB / 1.194 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002893/1.525, allocations: 406.6 kB / 1.194 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/1.527, allocations: 0.8707 MB / 1.195 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/1.53, allocations: 1.506 MB / 1.196 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005805/1.536, allocations: 1.466 MB / 1.198 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/1.536, allocations: 4 kB / 1.198 GB, free: 6.047 MB / 0.8073 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.01009/1.546, allocations: 2.658 MB / 1.2 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003959/1.55, allocations: 8.34 MB / 1.209 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.725e-05/1.551, allocations: 24 kB / 1.209 GB, free: 10.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.602e-05/1.551, allocations: 35.98 kB / 1.209 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005707/1.556, allocations: 0.4992 MB / 1.209 GB, free: 9.824 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.674e-05/1.557, allocations: 47.86 kB / 1.209 GB, free: 9.777 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.559, allocations: 87.64 kB / 1.209 GB, free: 9.691 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/1.56, allocations: 91.97 kB / 1.209 GB, free: 9.602 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.56, allocations: 4 kB / 1.209 GB, free: 9.598 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0105/1.57, allocations: 2.505 MB / 1.212 GB, free: 7.094 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00014/1.57, allocations: 24.98 kB / 1.212 GB, free: 7.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.458e-05/1.57, allocations: 32 kB / 1.212 GB, free: 7.039 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00741/1.578, allocations: 0.507 MB / 1.212 GB, free: 6.531 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.768e-05/1.578, allocations: 55.69 kB / 1.212 GB, free: 6.477 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.581, allocations: 71.84 kB / 1.212 GB, free: 6.406 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007144/1.582, allocations: 87.97 kB / 1.213 GB, free: 6.32 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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.0008701/1.583, allocations: 164.3 kB / 1.213 GB, free: 6.152 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/1.583, allocations: 86.97 kB / 1.213 GB, free: 6.066 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007377/1.591, allocations: 1.97 MB / 1.215 GB, free: 4.039 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/1.591, allocations: 15.94 kB / 1.215 GB, free: 4.023 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.591, allocations: 0 / 1.215 GB, free: 4.023 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.591, allocations: 7.984 kB / 1.215 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04366/1.635, allocations: 15.43 MB / 1.23 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.533e-05/1.635, allocations: 20 kB / 1.23 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00301/1.638, allocations: 195.5 kB / 1.23 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/1.638, allocations: 32 kB / 1.23 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002974/1.638, allocations: 28 kB / 1.23 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.224e-05/1.638, allocations: 35.86 kB / 1.23 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.582e-05/1.638, allocations: 31.88 kB / 1.23 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01129/1.65, allocations: 3.08 MB / 1.233 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/1.652, allocations: 343.7 kB / 1.233 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001196/1.653, allocations: 31.98 kB / 1.233 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003173/1.656, allocations: 55.88 kB / 1.234 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/1.657, allocations: 103.5 kB / 1.234 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.657, allocations: 47.91 kB / 1.234 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00336/1.661, allocations: 0.6904 MB / 1.234 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01196/1.673, allocations: 0.8007 MB / 1.235 GB, free: 13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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.0009086/1.674, allocations: 178.7 kB / 1.235 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01545/1.689, allocations: 3.004 MB / 1.238 GB, free: 9.824 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.129e-05/1.689, allocations: 8.188 kB / 1.238 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003007/1.692, allocations: 0.6175 MB / 1.239 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.696, allocations: 166.3 kB / 1.239 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/1.711, allocations: 4.129 MB / 1.243 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005741/1.717, allocations: 2.263 MB / 1.245 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of SimCode: time 1.633e-06/1.717, allocations: 0 / 1.245 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of Templates: time 0.4179/2.135, allocations: 23.46 MB / 1.268 GB, free: 356.8 MB / 0.8698 GB