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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [: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.269/2.269, allocations: 253.1 MB / 260.4 MB, free: 0.5859 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.001651/0.001651, allocations: 188 kB / 319.6 MB, free: 7.699 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.411/2.411, allocations: 205.4 MB / 0.5704 GB, free: 25.65 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.001307/0.001306, allocations: 90.02 kB / 0.6746 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.238e-05, allocations: 4 kB / 0.7843 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5778/0.5779, allocations: 106.2 MB / 0.8881 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7057/1.284, allocations: 163.6 MB / 1.048 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/1.284, allocations: 94.11 kB / 1.048 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.7032/1.987, allocations: 180.4 MB / 1.224 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005221/1.988, allocations: 127.9 kB / 1.224 GB, free: 8.949 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02137/2.009, allocations: 4.218 MB / 1.228 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/2.009, allocations: 8.031 kB / 1.228 GB, free: 4.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/2.02, allocations: 1.008 MB / 1.229 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/2.034, allocations: 3.241 MB / 1.232 GB, free: 356 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/2.035, allocations: 156 kB / 1.233 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002516/2.037, allocations: 272 kB / 1.233 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01944/2.057, allocations: 4.893 MB / 1.238 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0281/2.085, allocations: 6.852 MB / 1.244 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/2.085, allocations: 19.88 kB / 1.244 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002239/2.088, allocations: 12 kB / 1.244 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004555/2.088, allocations: 277.2 kB / 1.245 GB, free: 3.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06472/2.153, allocations: 35.35 MB / 1.279 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005982/2.159, allocations: 2.011 MB / 1.281 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003869/2.163, allocations: 1.44 MB / 1.283 GB, free: 9.383 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/2.163, allocations: 21.3 kB / 1.283 GB, free: 9.363 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.676e-05/2.163, allocations: 51.88 kB / 1.283 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 5.601e-06/2.163, allocations: 0 / 1.283 GB, free: 9.301 MB / 0.7917 GB Notification: Performance of matching and sorting (n=160): time 0.01803/2.181, allocations: 4.882 MB / 1.287 GB, free: 4.367 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/2.181, allocations: 76.64 kB / 1.287 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003366/2.185, allocations: 1.24 MB / 1.289 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004527/2.185, allocations: 25.7 kB / 1.289 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00169/2.187, allocations: 1.805 MB / 1.29 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/2.188, allocations: 0.539 MB / 1.291 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/2.188, allocations: 3.938 kB / 1.291 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002356/2.188, allocations: 386.1 kB / 1.291 GB, free: 216 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/2.192, allocations: 0.9921 MB / 1.292 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003825/2.195, allocations: 1.693 MB / 1.294 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003713/2.199, allocations: 1.294 MB / 1.295 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/2.199, allocations: 4 kB / 1.295 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.0124/2.212, allocations: 3.583 MB / 1.299 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/2.212, allocations: 8 kB / 1.299 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.881e-05/2.212, allocations: 24 kB / 1.299 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004802/2.217, allocations: 0.8961 MB / 1.3 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003426/2.22, allocations: 395.4 kB / 1.3 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03132/2.252, allocations: 19.68 MB / 1.319 GB, free: 1.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/2.255, allocations: 68 kB / 1.319 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006544/2.256, allocations: 96 kB / 1.319 GB, free: 1.688 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006063/2.256, allocations: 164.4 kB / 1.32 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008197/2.257, allocations: 233.3 kB / 1.32 GB, free: 1.289 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/2.268, allocations: 3.156 MB / 1.323 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-05/2.268, allocations: 19.91 kB / 1.323 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.89e-05/2.268, allocations: 12 kB / 1.323 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-05/2.268, allocations: 7.969 kB / 1.323 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/2.292, allocations: 6.712 MB / 1.329 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.248e-05/2.292, allocations: 8 kB / 1.329 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/2.294, allocations: 195.7 kB / 1.33 GB, free: 6.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00462/2.299, allocations: 0.8732 MB / 1.33 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004459/2.299, allocations: 11.89 kB / 1.331 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03093/2.33, allocations: 19.66 MB / 1.35 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.41e-05/2.33, allocations: 7.938 kB / 1.35 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01051/2.341, allocations: 3.6 MB / 1.353 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002174/2.343, allocations: 0.506 MB / 1.354 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009356/2.344, allocations: 4 kB / 1.354 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/2.346, allocations: 44.12 kB / 1.354 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/2.347, allocations: 89.05 kB / 1.354 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/2.347, allocations: 48 kB / 1.354 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002402/2.35, allocations: 0.9139 MB / 1.355 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005413/2.355, allocations: 0.8203 MB / 1.356 GB, free: 10.68 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006479/2.356, allocations: 133.2 kB / 1.356 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01135/2.367, allocations: 4.011 MB / 1.36 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.367, allocations: 448 / 1.36 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/2.375, allocations: 2.72 MB / 1.362 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006004/2.381, allocations: 0.6267 MB / 1.363 GB, free: 2.945 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3534/2.734, allocations: 6.008 MB / 1.369 GB, free: 265.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/2.744, allocations: 3.369 MB / 1.372 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.402e-06/2.744, allocations: 0 / 1.372 GB, free: 264.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.1039/2.848, allocations: 37.77 MB / 1.409 GB, free: 264.3 MB / 0.8698 GB