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_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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.35/2.35, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001618/0.001618, allocations: 188.2 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 1.971/1.971, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001918/0.001918, allocations: 98.95 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.708e-06/9.958e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.018, allocations: 188.7 MB / 1.072 GB, free: 184 kB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/1.019, allocations: 91.75 kB / 1.072 GB, free: 132 kB / 0.6823 GB Notification: Performance of FrontEnd: time 0.6307/1.65, allocations: 144.7 MB / 1.214 GB, free: 7.609 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003972/1.65, allocations: 99.97 kB / 1.214 GB, free: 7.512 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0147/1.665, allocations: 3.255 MB / 1.217 GB, free: 4.195 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/1.665, allocations: 12.03 kB / 1.217 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009466/1.674, allocations: 0.803 MB / 1.218 GB, free: 3.375 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/1.685, allocations: 2.565 MB / 1.22 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/1.685, allocations: 124 kB / 1.22 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002195/1.688, allocations: 235.8 kB / 1.221 GB, free: 412 kB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01463/1.702, allocations: 3.716 MB / 1.224 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0206/1.723, allocations: 5.224 MB / 1.229 GB, free: 7.129 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001858/1.723, allocations: 11.88 kB / 1.229 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009958/1.724, allocations: 15.91 kB / 1.229 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003402/1.725, allocations: 223 kB / 1.23 GB, free: 6.883 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04932/1.774, allocations: 26.95 MB / 1.256 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/1.777, allocations: 1.035 MB / 1.257 GB, free: 8.406 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/1.779, allocations: 0.9683 MB / 1.258 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/1.779, allocations: 13 kB / 1.258 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.779, allocations: 47.56 kB / 1.258 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.138e-06/1.779, allocations: 0 / 1.258 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of matching and sorting (n=131): time 0.02587/1.805, allocations: 6.936 MB / 1.265 GB, free: 332 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/1.805, allocations: 68.72 kB / 1.265 GB, free: 248 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3213/2.127, allocations: 1.077 MB / 1.266 GB, free: 340.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003389/2.127, allocations: 25.7 kB / 1.266 GB, free: 340.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009029/2.128, allocations: 1.419 MB / 1.267 GB, free: 340.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007081/2.129, allocations: 460 kB / 1.268 GB, free: 340 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/2.129, allocations: 0 / 1.268 GB, free: 340 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001718/2.129, allocations: 376.2 kB / 1.268 GB, free: 339.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/2.131, allocations: 0.8521 MB / 1.269 GB, free: 339.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/2.134, allocations: 1.438 MB / 1.27 GB, free: 339 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002598/2.136, allocations: 1.11 MB / 1.271 GB, free: 339 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/2.136, allocations: 7.469 kB / 1.271 GB, free: 339 MB / 0.8698 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009465/2.146, allocations: 3.048 MB / 1.274 GB, free: 338.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/2.146, allocations: 7.734 kB / 1.274 GB, free: 338.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/2.146, allocations: 21.19 kB / 1.274 GB, free: 338.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/2.15, allocations: 0.7152 MB / 1.275 GB, free: 338.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003247/2.153, allocations: 379.8 kB / 1.276 GB, free: 338.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/2.172, allocations: 14.48 MB / 1.29 GB, free: 327.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/2.175, allocations: 47.02 kB / 1.29 GB, free: 327.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/2.175, allocations: 76.41 kB / 1.29 GB, free: 327.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004615/2.176, allocations: 166.4 kB / 1.29 GB, free: 327.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004679/2.176, allocations: 188.2 kB / 1.29 GB, free: 327.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008194/2.185, allocations: 2.664 MB / 1.293 GB, free: 327.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/2.185, allocations: 18.53 kB / 1.293 GB, free: 327.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/2.185, allocations: 7.375 kB / 1.293 GB, free: 327.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/2.185, allocations: 3.328 kB / 1.293 GB, free: 327.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/2.2, allocations: 5.462 MB / 1.298 GB, free: 326.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/2.2, allocations: 3.969 kB / 1.298 GB, free: 326.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002469/2.202, allocations: 220.4 kB / 1.298 GB, free: 326.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003383/2.206, allocations: 0.6408 MB / 1.299 GB, free: 326.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/2.206, allocations: 16.28 kB / 1.299 GB, free: 326.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/2.223, allocations: 14.19 MB / 1.313 GB, free: 316.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/2.223, allocations: 14.55 kB / 1.313 GB, free: 316.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01316/2.237, allocations: 4.232 MB / 1.317 GB, free: 315.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/2.239, allocations: 439.6 kB / 1.317 GB, free: 314.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008665/2.24, allocations: 10.03 kB / 1.317 GB, free: 314.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/2.242, allocations: 39.64 kB / 1.317 GB, free: 314.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002282/2.242, allocations: 77.66 kB / 1.317 GB, free: 314.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/2.242, allocations: 36.81 kB / 1.317 GB, free: 314.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001565/2.244, allocations: 0.7965 MB / 1.318 GB, free: 314.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00318/2.247, allocations: 0.6259 MB / 1.319 GB, free: 314.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/2.248, allocations: 134.5 kB / 1.319 GB, free: 314.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007129/2.255, allocations: 3.209 MB / 1.322 GB, free: 313.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/2.255, allocations: 0 / 1.322 GB, free: 313.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004828/2.26, allocations: 2.066 MB / 1.324 GB, free: 312.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/2.264, allocations: 0.5186 MB / 1.325 GB, free: 312.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/2.281, allocations: 5.212 MB / 1.33 GB, free: 311.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006056/2.287, allocations: 2.803 MB / 1.332 GB, free: 310.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.633e-06/2.287, allocations: 0 / 1.332 GB, free: 310.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.08215/2.369, allocations: 30.07 MB / 1.362 GB, free: 309.6 MB / 0.8698 GB