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.ACLine_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.143/2.143, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001694/0.001694, allocations: 177.2 kB / 319.6 MB, free: 3.312 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.043/2.043, allocations: 205.4 MB / 0.5704 GB, free: 15 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.001271/0.001271, allocations: 99.59 kB / 0.6746 GB, free: 4.355 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.116e-06/8.145e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.1988, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.745/0.9438, allocations: 190.1 MB / 1.074 GB, free: 14.94 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003693/0.9443, allocations: 96.38 kB / 1.074 GB, free: 14.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.5149/1.459, allocations: 112.3 MB / 1.183 GB, free: 7.156 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000325/1.46, allocations: 71.98 kB / 1.184 GB, free: 7.086 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01224/1.472, allocations: 2.719 MB / 1.186 GB, free: 4.305 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.472, allocations: 8.031 kB / 1.186 GB, free: 4.297 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007476/1.479, allocations: 0.6479 MB / 1.187 GB, free: 3.645 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00848/1.488, allocations: 2.071 MB / 1.189 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/1.488, allocations: 96 kB / 1.189 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001408/1.49, allocations: 179.8 kB / 1.189 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01156/1.501, allocations: 3.089 MB / 1.192 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/1.517, allocations: 4.216 MB / 1.196 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/1.517, allocations: 23.77 kB / 1.196 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005937/1.518, allocations: 4 kB / 1.196 GB, free: 9.656 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002716/1.518, allocations: 173.8 kB / 1.196 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04006/1.558, allocations: 21.06 MB / 1.217 GB, free: 2.449 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003217/1.562, allocations: 1.177 MB / 1.218 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/1.564, allocations: 1.027 MB / 1.219 GB, free: 232 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/1.565, allocations: 16.94 kB / 1.219 GB, free: 216 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.565, allocations: 43.56 kB / 1.219 GB, free: 164 kB / 0.823 GB Notification: Performance of pre-optimization done (n=107): time 4.158e-06/1.565, allocations: 0 / 1.219 GB, free: 164 kB / 0.823 GB Notification: Performance of matching and sorting (n=138): time 0.01829/1.583, allocations: 4.796 MB / 1.224 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/1.583, allocations: 68.7 kB / 1.224 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/1.585, allocations: 0.8306 MB / 1.225 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003247/1.586, allocations: 25.7 kB / 1.225 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009975/1.587, allocations: 1.139 MB / 1.226 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008289/1.588, allocations: 461.2 kB / 1.226 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/1.588, allocations: 0 / 1.226 GB, free: 8.805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000224/1.588, allocations: 369.8 kB / 1.227 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/1.59, allocations: 0.8668 MB / 1.228 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003018/1.593, allocations: 1.316 MB / 1.229 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.597, allocations: 1.115 MB / 1.23 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-05/1.597, allocations: 4 kB / 1.23 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01197/1.609, allocations: 3.251 MB / 1.233 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/1.609, allocations: 8 kB / 1.233 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.309e-05/1.609, allocations: 16 kB / 1.233 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006092/1.615, allocations: 1.115 MB / 1.234 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.617, allocations: 255.6 kB / 1.234 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02822/1.645, allocations: 11.32 MB / 1.245 GB, free: 4.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.648, allocations: 39.95 kB / 1.246 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/1.648, allocations: 64 kB / 1.246 GB, free: 4.504 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004359/1.648, allocations: 152.5 kB / 1.246 GB, free: 4.348 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/1.649, allocations: 154.2 kB / 1.246 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.66, allocations: 3.037 MB / 1.249 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/1.66, allocations: 16 kB / 1.249 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/1.66, allocations: 12 kB / 1.249 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.059e-05/1.66, allocations: 7.969 kB / 1.249 GB, free: 1.094 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.677, allocations: 5.611 MB / 1.254 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.678, allocations: 4 kB / 1.254 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.679, allocations: 135.8 kB / 1.255 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005307/1.684, allocations: 1.029 MB / 1.256 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/1.684, allocations: 7.938 kB / 1.256 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3306/2.015, allocations: 11.02 MB / 1.266 GB, free: 351.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/2.015, allocations: 3.875 kB / 1.266 GB, free: 351.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008565/2.024, allocations: 3.26 MB / 1.269 GB, free: 350.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/2.025, allocations: 407.7 kB / 1.27 GB, free: 350.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/2.026, allocations: 9.859 kB / 1.27 GB, free: 350.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/2.027, allocations: 35.08 kB / 1.27 GB, free: 350.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/2.027, allocations: 78.02 kB / 1.27 GB, free: 350.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/2.027, allocations: 41.47 kB / 1.27 GB, free: 350.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.00126/2.029, allocations: 0.6229 MB / 1.271 GB, free: 350.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002963/2.032, allocations: 0.5685 MB / 1.271 GB, free: 350.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003586/2.032, allocations: 123.3 kB / 1.271 GB, free: 350.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007461/2.04, allocations: 2.791 MB / 1.274 GB, free: 350.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/2.04, allocations: 3.875 kB / 1.274 GB, free: 350.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005196/2.045, allocations: 1.706 MB / 1.276 GB, free: 349.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/2.049, allocations: 375.7 kB / 1.276 GB, free: 349.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/2.064, allocations: 4.347 MB / 1.28 GB, free: 348.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00451/2.068, allocations: 2.42 MB / 1.283 GB, free: 348.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.745e-06/2.068, allocations: 3.812 kB / 1.283 GB, free: 348.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.09278/2.161, allocations: 28.71 MB / 1.311 GB, free: 347.4 MB / 0.8698 GB