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_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.163/2.163, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001652/0.001652, allocations: 181.2 kB / 319.6 MB, free: 3.309 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.849/1.849, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001235/0.001234, allocations: 98.44 kB / 0.6746 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.151e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2135, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6965/0.9101, allocations: 165.2 MB / 1.049 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.9105, allocations: 94.75 kB / 1.05 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.8362/1.747, allocations: 200.1 MB / 1.245 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005825/1.747, allocations: 151.9 kB / 1.245 GB, free: 6.758 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02312/1.77, allocations: 4.945 MB / 1.25 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.77, allocations: 12.03 kB / 1.25 GB, free: 1.734 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/1.783, allocations: 1.132 MB / 1.251 GB, free: 0.5938 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4644/2.247, allocations: 3.715 MB / 1.255 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000358/2.247, allocations: 190.2 kB / 1.255 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002573/2.25, allocations: 330.6 kB / 1.255 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02059/2.271, allocations: 5.884 MB / 1.261 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/2.299, allocations: 8.046 MB / 1.269 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003352/2.3, allocations: 21.88 kB / 1.269 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002314/2.302, allocations: 14.56 kB / 1.269 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003781/2.302, allocations: 306.5 kB / 1.269 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06417/2.366, allocations: 40.41 MB / 1.309 GB, free: 128 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007458/2.374, allocations: 2.86 MB / 1.311 GB, free: 128 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00513/2.379, allocations: 2.117 MB / 1.313 GB, free: 128 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/2.379, allocations: 27.03 kB / 1.313 GB, free: 128 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/2.38, allocations: 57 kB / 1.313 GB, free: 128 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 6.001e-06/2.38, allocations: 0 / 1.313 GB, free: 128 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.02016/2.4, allocations: 6.464 MB / 1.32 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/2.4, allocations: 72.44 kB / 1.32 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/2.404, allocations: 1.331 MB / 1.321 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006019/2.404, allocations: 28.67 kB / 1.321 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/2.406, allocations: 2.051 MB / 1.323 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/2.407, allocations: 0.7035 MB / 1.324 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/2.408, allocations: 3.094 kB / 1.324 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002661/2.408, allocations: 410.2 kB / 1.324 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004562/2.412, allocations: 1.297 MB / 1.326 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005507/2.418, allocations: 2.07 MB / 1.328 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/2.423, allocations: 1.671 MB / 1.329 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.156e-05/2.423, allocations: 14.25 kB / 1.329 GB, free: 123.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01894/2.442, allocations: 4.714 MB / 1.334 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/2.442, allocations: 5.438 kB / 1.334 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.977e-05/2.443, allocations: 25.56 kB / 1.334 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008391/2.451, allocations: 1.425 MB / 1.335 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/2.455, allocations: 421.3 kB / 1.336 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03919/2.495, allocations: 15.53 MB / 1.351 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/2.498, allocations: 71.95 kB / 1.351 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009017/2.499, allocations: 108.2 kB / 1.351 GB, free: 118.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000733/2.5, allocations: 184.1 kB / 1.351 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009111/2.501, allocations: 265.1 kB / 1.351 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/2.514, allocations: 4.306 MB / 1.356 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.923e-05/2.514, allocations: 18.75 kB / 1.356 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-05/2.514, allocations: 20.81 kB / 1.356 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/2.514, allocations: 7.219 kB / 1.356 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05578/2.57, allocations: 8.728 MB / 1.364 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-05/2.57, allocations: 3.969 kB / 1.364 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/2.573, allocations: 218.7 kB / 1.364 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01967/2.593, allocations: 1.402 MB / 1.366 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006594/2.593, allocations: 10.03 kB / 1.366 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0359/2.629, allocations: 15.49 MB / 1.381 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/2.629, allocations: 10.28 kB / 1.381 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01238/2.642, allocations: 4.746 MB / 1.386 GB, free: 107 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/2.644, allocations: 0.6049 MB / 1.386 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/2.645, allocations: 7.844 kB / 1.386 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002882/2.648, allocations: 49.39 kB / 1.386 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/2.649, allocations: 113.4 kB / 1.386 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002303/2.649, allocations: 62.91 kB / 1.386 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00214/2.651, allocations: 0.9668 MB / 1.387 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00611/2.657, allocations: 1.005 MB / 1.388 GB, free: 106.2 MB / 0.8542 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 (107): * Single equations (assignments): 103 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007229/2.658, allocations: 127 kB / 1.388 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01306/2.671, allocations: 4.217 MB / 1.392 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.018e-05/2.671, allocations: 2.375 kB / 1.392 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01331/2.685, allocations: 2.548 MB / 1.395 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009525/2.694, allocations: 0.672 MB / 1.396 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04494/2.739, allocations: 7.547 MB / 1.403 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01608/2.756, allocations: 3.848 MB / 1.407 GB, free: 99.11 MB / 0.8542 GB Notification: Performance of SimCode: time 2.315e-06/2.756, allocations: 0 / 1.407 GB, free: 99.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.1366/2.892, allocations: 46.51 MB / 1.452 GB, free: 83.14 MB / 0.8542 GB