Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [: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.504/2.504, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.001622/0.001622, allocations: 184.8 kB / 319.6 MB, free: 3.332 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 1.976/1.976, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001298/0.001298, allocations: 92.95 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.359e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2044, allocations: 106.2 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7537/0.9582, allocations: 160.1 MB / 1.044 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004295/0.9587, allocations: 90.19 kB / 1.045 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.6404/1.599, allocations: 137.9 MB / 1.179 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003743/1.6, allocations: 95.98 kB / 1.179 GB, free: 11.42 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01718/1.617, allocations: 3.365 MB / 1.183 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/1.617, allocations: 8.031 kB / 1.183 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/1.628, allocations: 1.044 MB / 1.184 GB, free: 6.934 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.638, allocations: 2.614 MB / 1.186 GB, free: 4.266 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003464/1.639, allocations: 119.9 kB / 1.186 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/1.641, allocations: 208 kB / 1.186 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01638/1.657, allocations: 4.596 MB / 1.191 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02057/1.678, allocations: 6.253 MB / 1.197 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001331/1.678, allocations: 19.78 kB / 1.197 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006608/1.679, allocations: 16 kB / 1.197 GB, free: 8.707 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001274/1.68, allocations: 403.2 kB / 1.197 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06271/1.743, allocations: 31.65 MB / 1.228 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005898/1.749, allocations: 2.099 MB / 1.23 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006138/1.755, allocations: 2.24 MB / 1.233 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/1.755, allocations: 29.28 kB / 1.233 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/1.755, allocations: 51.81 kB / 1.233 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=146): time 4.879e-06/1.755, allocations: 0 / 1.233 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=251): time 0.1214/1.877, allocations: 21.6 MB / 1.254 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/1.877, allocations: 77.41 kB / 1.254 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003367/1.88, allocations: 1.26 MB / 1.255 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008159/1.881, allocations: 25.7 kB / 1.255 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.883, allocations: 1.462 MB / 1.257 GB, free: 8.945 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001816/1.885, allocations: 0.8235 MB / 1.257 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005006/1.885, allocations: 4 kB / 1.257 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003103/1.885, allocations: 403.1 kB / 1.258 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008141/1.894, allocations: 2.867 MB / 1.261 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009008/1.903, allocations: 3.393 MB / 1.264 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4522/2.355, allocations: 3.611 MB / 1.267 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/2.355, allocations: 3.875 kB / 1.267 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.0474/2.402, allocations: 12.42 MB / 1.28 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/2.403, allocations: 3.562 kB / 1.28 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/2.403, allocations: 14.44 kB / 1.28 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06398/2.467, allocations: 7.964 MB / 1.287 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/2.47, allocations: 278.1 kB / 1.288 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09471/2.565, allocations: 30.88 MB / 1.318 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004519/2.569, allocations: 86.02 kB / 1.318 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/2.57, allocations: 267.1 kB / 1.318 GB, free: 194.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001024/2.571, allocations: 153 kB / 1.318 GB, free: 194.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009825/2.572, allocations: 241.3 kB / 1.318 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0487/2.621, allocations: 12.64 MB / 1.331 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.159e-05/2.621, allocations: 27.31 kB / 1.331 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.178e-05/2.621, allocations: 22.12 kB / 1.331 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.417e-05/2.621, allocations: 14.03 kB / 1.331 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06662/2.688, allocations: 18.11 MB / 1.349 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/2.688, allocations: 8.984 kB / 1.349 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/2.69, allocations: 155.5 kB / 1.349 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07627/2.766, allocations: 7.877 MB / 1.356 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001384/2.767, allocations: 85.41 kB / 1.356 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1103/2.878, allocations: 30.44 MB / 1.386 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/2.878, allocations: 14.06 kB / 1.386 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04921/2.927, allocations: 12.68 MB / 1.399 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003674/2.931, allocations: 0.994 MB / 1.4 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001506/2.932, allocations: 8 kB / 1.4 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/2.937, allocations: 84.03 kB / 1.4 GB, free: 172 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/2.938, allocations: 200.9 kB / 1.4 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007659/2.939, allocations: 237.2 kB / 1.4 GB, free: 171.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002199/2.941, allocations: 0.9591 MB / 1.401 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006579/2.948, allocations: 1.103 MB / 1.402 GB, free: 169.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/2.949, allocations: 146.2 kB / 1.402 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.03408/2.983, allocations: 9.385 MB / 1.411 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.983, allocations: 4 kB / 1.411 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02596/3.009, allocations: 5.97 MB / 1.417 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004463/3.013, allocations: 409.1 kB / 1.418 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/3.039, allocations: 7.475 MB / 1.425 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00816/3.047, allocations: 3.211 MB / 1.428 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/3.047, allocations: 0 / 1.428 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.1525/3.199, allocations: 65.59 MB / 1.492 GB, free: 86.86 MB / 0.8698 GB