Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [: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.373/2.373, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.002517/0.002517, allocations: 178.3 kB / 319.6 MB, free: 3.34 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.977/1.977, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.0013/0.0013, allocations: 102.6 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.049e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1969, allocations: 106.2 MB / 0.8881 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8895/1.086, allocations: 181.7 MB / 1.065 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004655/1.087, allocations: 93.56 kB / 1.066 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.1606/1.248, allocations: 31.33 MB / 1.096 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.64e-05/1.248, allocations: 20 kB / 1.096 GB, free: 13.23 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002383/1.25, allocations: 0.8118 MB / 1.097 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.25, allocations: 8.031 kB / 1.097 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/1.253, allocations: 202.5 kB / 1.097 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/1.255, allocations: 0.4928 MB / 1.098 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/1.255, allocations: 16 kB / 1.098 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/1.255, allocations: 32 kB / 1.098 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001513/1.257, allocations: 479 kB / 1.098 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.259, allocations: 0.8049 MB / 1.099 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/1.259, allocations: 7.844 kB / 1.099 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/1.259, allocations: 4 kB / 1.099 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.035e-05/1.259, allocations: 48.72 kB / 1.099 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007874/1.267, allocations: 4.488 MB / 1.103 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/1.268, allocations: 276.7 kB / 1.104 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005286/1.268, allocations: 224.8 kB / 1.104 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/1.268, allocations: 8 kB / 1.104 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.268, allocations: 42.12 kB / 1.104 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 4.368e-06/1.268, allocations: 0 / 1.104 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.007609/1.276, allocations: 2.019 MB / 1.106 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.276, allocations: 55.41 kB / 1.106 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006794/1.277, allocations: 340.2 kB / 1.106 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/1.277, allocations: 25.7 kB / 1.106 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002653/1.277, allocations: 292.9 kB / 1.107 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/1.277, allocations: 136.1 kB / 1.107 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/1.277, allocations: 0 / 1.107 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002604/1.278, allocations: 363.8 kB / 1.107 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/1.278, allocations: 223.2 kB / 1.107 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/1.279, allocations: 374.9 kB / 1.108 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007349/1.28, allocations: 288.2 kB / 1.108 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.28, allocations: 0 / 1.108 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003961/1.284, allocations: 0.8393 MB / 1.109 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/1.284, allocations: 4 kB / 1.109 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/1.284, allocations: 4.562 kB / 1.109 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/1.285, allocations: 235.4 kB / 1.109 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.286, allocations: 95.39 kB / 1.109 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/1.294, allocations: 4.623 MB / 1.114 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/1.295, allocations: 11.98 kB / 1.114 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/1.295, allocations: 27.55 kB / 1.114 GB, free: 12.69 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * 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 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.296, allocations: 120.4 kB / 1.114 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.296, allocations: 55.38 kB / 1.114 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/1.299, allocations: 0.7415 MB / 1.114 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/1.299, allocations: 8 kB / 1.114 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.299, allocations: 0 / 1.114 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/1.299, allocations: 4 kB / 1.114 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004291/1.303, allocations: 1.381 MB / 1.116 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.303, allocations: 0 / 1.116 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/1.304, allocations: 67.8 kB / 1.116 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/1.305, allocations: 204.8 kB / 1.116 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/1.305, allocations: 4.188 kB / 1.116 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007587/1.313, allocations: 4.542 MB / 1.121 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/1.313, allocations: 7.844 kB / 1.121 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003334/1.316, allocations: 1.185 MB / 1.122 GB, free: 5.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004794/1.317, allocations: 173.3 kB / 1.122 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.317, allocations: 0 / 1.122 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/1.318, allocations: 15.92 kB / 1.122 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/1.318, allocations: 27.38 kB / 1.122 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/1.318, allocations: 11.5 kB / 1.122 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004858/1.318, allocations: 263.1 kB / 1.122 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001069/1.319, allocations: 151.9 kB / 1.122 GB, free: 4.449 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000261/1.32, allocations: 111.2 kB / 1.122 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002653/1.322, allocations: 0.9147 MB / 1.123 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.322, allocations: 0 / 1.123 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.324, allocations: 0.6181 MB / 1.124 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.326, allocations: 138.4 kB / 1.124 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/1.329, allocations: 0.9588 MB / 1.125 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.33, allocations: 0.9856 MB / 1.126 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/1.33, allocations: 4 kB / 1.126 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of Templates: time 0.02616/1.356, allocations: 8.169 MB / 1.134 GB, free: 8.922 MB / 0.7448 GB