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.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.273/2.273, allocations: 253.1 MB / 260.4 MB, free: 7.621 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.002597/0.002597, allocations: 181.3 kB / 319.6 MB, free: 3.324 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.015/2.015, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001345/0.001345, allocations: 99.25 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.018e-05/1.035e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1937, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.706/0.8997, allocations: 161.9 MB / 1.046 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.9002, allocations: 92.06 kB / 1.046 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.2709/1.171, allocations: 61.88 MB / 1.107 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001732/1.171, allocations: 47.92 kB / 1.107 GB, free: 5.562 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.008388/1.18, allocations: 1.636 MB / 1.108 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.18, allocations: 8.031 kB / 1.108 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007806/1.188, allocations: 484 kB / 1.109 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005956/1.194, allocations: 1.285 MB / 1.11 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/1.194, allocations: 52 kB / 1.11 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.195, allocations: 84 kB / 1.11 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01055/1.206, allocations: 2.357 MB / 1.113 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/1.219, allocations: 2.955 MB / 1.115 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.239e-05/1.219, allocations: 7.938 kB / 1.115 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006258/1.22, allocations: 7.984 kB / 1.115 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001664/1.222, allocations: 183 kB / 1.116 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04771/1.269, allocations: 14.71 MB / 1.13 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005436/1.275, allocations: 1.748 MB / 1.132 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004378/1.279, allocations: 1.542 MB / 1.133 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.28, allocations: 28.95 kB / 1.133 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.28, allocations: 43.56 kB / 1.133 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 4.899e-06/1.28, allocations: 0 / 1.133 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.08557/1.365, allocations: 14.16 MB / 1.147 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/1.365, allocations: 77.41 kB / 1.147 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002678/1.368, allocations: 1.001 MB / 1.148 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006306/1.369, allocations: 25.7 kB / 1.148 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/1.369, allocations: 0.6623 MB / 1.149 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.37, allocations: 0.5966 MB / 1.149 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004167/1.371, allocations: 0 / 1.149 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000272/1.371, allocations: 381.9 kB / 1.15 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005949/1.377, allocations: 2.155 MB / 1.152 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006586/1.384, allocations: 2.462 MB / 1.154 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/1.397, allocations: 2.934 MB / 1.157 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.805e-05/1.397, allocations: 4 kB / 1.157 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.05218/1.449, allocations: 8.781 MB / 1.166 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/1.449, allocations: 8.031 kB / 1.166 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-05/1.449, allocations: 8 kB / 1.166 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03864/1.488, allocations: 4.989 MB / 1.171 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/1.49, allocations: 243.6 kB / 1.171 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06751/1.558, allocations: 21.57 MB / 1.192 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004035/1.562, allocations: 71.8 kB / 1.192 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001027/1.563, allocations: 259.8 kB / 1.192 GB, free: 13.44 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0007895/1.564, allocations: 132.7 kB / 1.192 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006992/1.564, allocations: 138.3 kB / 1.192 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04388/1.608, allocations: 8.348 MB / 1.201 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/1.608, allocations: 16 kB / 1.201 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.995e-05/1.608, allocations: 23.98 kB / 1.201 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.767e-05/1.609, allocations: 7.969 kB / 1.201 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04944/1.658, allocations: 12.74 MB / 1.213 GB, free: 7.852 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/1.658, allocations: 4 kB / 1.213 GB, free: 7.848 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.659, allocations: 119.8 kB / 1.213 GB, free: 7.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03092/1.69, allocations: 4.767 MB / 1.218 GB, free: 2.949 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007651/1.691, allocations: 67.89 kB / 1.218 GB, free: 2.883 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06157/1.752, allocations: 18.5 MB / 1.236 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.753, allocations: 4 kB / 1.236 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03395/1.786, allocations: 7.907 MB / 1.244 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003114/1.79, allocations: 0.8232 MB / 1.245 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.791, allocations: 7.906 kB / 1.245 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.794, allocations: 39.97 kB / 1.245 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007602/1.794, allocations: 157.7 kB / 1.245 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006064/1.795, allocations: 183.8 kB / 1.245 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002025/1.797, allocations: 0.7724 MB / 1.246 GB, free: 5.996 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005113/1.802, allocations: 0.6602 MB / 1.246 GB, free: 5.336 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008508/1.803, allocations: 135 kB / 1.246 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.3418/2.145, allocations: 5.726 MB / 1.252 GB, free: 370.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/2.145, allocations: 0 / 1.252 GB, free: 370.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/2.158, allocations: 3.379 MB / 1.255 GB, free: 370.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/2.161, allocations: 158.2 kB / 1.255 GB, free: 370.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/2.177, allocations: 4.379 MB / 1.26 GB, free: 369.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003634/2.181, allocations: 1.907 MB / 1.262 GB, free: 368.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/2.181, allocations: 0 / 1.262 GB, free: 368.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.128/2.309, allocations: 58.22 MB / 1.318 GB, free: 350.4 MB / 0.8542 GB