Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [: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.106/2.106, allocations: 253.1 MB / 260.4 MB, free: 7.617 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.001649/0.001649, allocations: 181 kB / 319.6 MB, free: 3.316 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.096/2.096, 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.001304/0.001303, allocations: 91.31 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.386e-06/8.526e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6785/0.8805, allocations: 148.1 MB / 1.033 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004431/0.881, allocations: 94.42 kB / 1.033 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.202/1.083, allocations: 29.31 MB / 1.061 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.267e-05/1.083, allocations: 23.98 kB / 1.061 GB, free: 15.17 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002438/1.086, allocations: 0.782 MB / 1.062 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/1.086, allocations: 11.97 kB / 1.062 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.089, allocations: 202.8 kB / 1.062 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/1.091, allocations: 495.2 kB / 1.063 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/1.091, allocations: 19.98 kB / 1.063 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004324/1.092, allocations: 27.91 kB / 1.063 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001747/1.094, allocations: 429 kB / 1.063 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/1.096, allocations: 0.866 MB / 1.064 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.908e-05/1.096, allocations: 11.94 kB / 1.064 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/1.097, allocations: 8 kB / 1.064 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/1.097, allocations: 55.92 kB / 1.064 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01076/1.108, allocations: 5.555 MB / 1.07 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/1.109, allocations: 427.5 kB / 1.07 GB, free: 6.527 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007554/1.11, allocations: 227.4 kB / 1.07 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/1.11, allocations: 0 / 1.07 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/1.11, allocations: 38.56 kB / 1.07 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.968e-06/1.11, allocations: 0 / 1.07 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.004044/1.114, allocations: 0.8291 MB / 1.071 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/1.114, allocations: 59.39 kB / 1.071 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/1.115, allocations: 357.3 kB / 1.072 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.115, allocations: 25.7 kB / 1.072 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/1.116, allocations: 301.1 kB / 1.072 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/1.116, allocations: 112.9 kB / 1.072 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/1.116, allocations: 0 / 1.072 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002889/1.116, allocations: 365.4 kB / 1.072 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006943/1.117, allocations: 178.1 kB / 1.072 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009602/1.118, allocations: 402.2 kB / 1.073 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/1.119, allocations: 241 kB / 1.073 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.119, allocations: 0 / 1.073 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003282/1.122, allocations: 0.7127 MB / 1.074 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/1.122, allocations: 8 kB / 1.074 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/1.123, allocations: 8 kB / 1.074 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.124, allocations: 153.3 kB / 1.074 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.125, allocations: 111.8 kB / 1.074 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007001/1.132, allocations: 3.858 MB / 1.078 GB, free: 14.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.133, allocations: 15.98 kB / 1.078 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/1.134, allocations: 27.12 kB / 1.078 GB, free: 14.88 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003025/1.134, allocations: 124.4 kB / 1.078 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/1.134, allocations: 55.34 kB / 1.078 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/1.136, allocations: 0.5817 MB / 1.079 GB, free: 14.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/1.136, allocations: 7.906 kB / 1.079 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.136, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/1.136, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/1.14, allocations: 1.177 MB / 1.08 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.14, allocations: 8.031 kB / 1.08 GB, free: 13.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/1.14, allocations: 51.91 kB / 1.08 GB, free: 13.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007938/1.141, allocations: 141.2 kB / 1.08 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/1.141, allocations: 0 / 1.08 GB, free: 13.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004935/1.146, allocations: 3.849 MB / 1.084 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.146, allocations: 3.938 kB / 1.084 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002053/1.148, allocations: 0.7801 MB / 1.084 GB, free: 8.215 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/1.149, allocations: 162.2 kB / 1.085 GB, free: 8.051 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/1.149, allocations: 4 kB / 1.085 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/1.149, allocations: 7.984 kB / 1.085 GB, free: 8.039 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/1.149, allocations: 31.38 kB / 1.085 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/1.15, allocations: 11.12 kB / 1.085 GB, free: 8.004 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0004785/1.15, allocations: 266.5 kB / 1.085 GB, free: 7.801 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001059/1.151, allocations: 128 kB / 1.085 GB, free: 7.676 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002345/1.151, allocations: 107.2 kB / 1.085 GB, free: 7.559 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002262/1.154, allocations: 0.9556 MB / 1.086 GB, free: 6.668 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.154, allocations: 0 / 1.086 GB, free: 6.668 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001479/1.155, allocations: 0.7043 MB / 1.087 GB, free: 5.949 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/1.157, allocations: 162.5 kB / 1.087 GB, free: 5.824 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/1.16, allocations: 0.7604 MB / 1.088 GB, free: 5.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.161, allocations: 0.9659 MB / 1.089 GB, free: 4.109 MB / 0.698 GB Notification: Performance of SimCode: time 3.657e-06/1.161, allocations: 0 / 1.089 GB, free: 4.109 MB / 0.698 GB Notification: Performance of Templates: time 0.02916/1.19, allocations: 7.035 MB / 1.095 GB, free: 13.16 MB / 0.7136 GB