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_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") [: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.323/2.323, allocations: 253.1 MB / 260.4 MB, free: 7.57 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.001598/0.001597, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.123/2.123, 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.0013/0.001299, allocations: 88.89 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.535e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2499, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7248/0.9748, allocations: 178.7 MB / 1.063 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004017/0.9752, allocations: 92.22 kB / 1.063 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.563/2.538, allocations: 265.7 MB / 1.322 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005959/2.539, allocations: 142.2 kB / 1.322 GB, free: 196.4 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02327/2.562, allocations: 4.707 MB / 1.327 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/2.563, allocations: 7.25 kB / 1.327 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0234/2.586, allocations: 1.415 MB / 1.328 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/2.604, allocations: 4.191 MB / 1.332 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/2.605, allocations: 164.7 kB / 1.332 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002964/2.608, allocations: 299.3 kB / 1.333 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02047/2.628, allocations: 5.767 MB / 1.338 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02752/2.656, allocations: 7.711 MB / 1.346 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002999/2.656, allocations: 35.56 kB / 1.346 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002064/2.658, allocations: 14.53 kB / 1.346 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004349/2.659, allocations: 341.6 kB / 1.346 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07551/2.734, allocations: 39.1 MB / 1.384 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007055/2.741, allocations: 2.555 MB / 1.387 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006856/2.748, allocations: 2.521 MB / 1.389 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003971/2.749, allocations: 30.16 kB / 1.389 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.705e-05/2.749, allocations: 58.09 kB / 1.39 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 5.671e-06/2.749, allocations: 0 / 1.39 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.1521/2.901, allocations: 27.94 MB / 1.417 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/2.901, allocations: 97.27 kB / 1.417 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/2.905, allocations: 1.643 MB / 1.418 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/2.907, allocations: 25.7 kB / 1.419 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/2.908, allocations: 1.899 MB / 1.42 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002658/2.911, allocations: 1.384 MB / 1.422 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008027/2.912, allocations: 0 / 1.422 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00042/2.912, allocations: 484 kB / 1.422 GB, free: 143 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007682/2.92, allocations: 2.739 MB / 1.425 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008651/2.929, allocations: 3.679 MB / 1.428 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/2.938, allocations: 3.357 MB / 1.432 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.592e-05/2.938, allocations: 8 kB / 1.432 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.05431/2.993, allocations: 11.37 MB / 1.443 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/2.993, allocations: 4 kB / 1.443 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.246e-05/2.993, allocations: 32.16 kB / 1.443 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03793/3.031, allocations: 4.97 MB / 1.448 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006637/3.037, allocations: 499.2 kB / 1.448 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.155/3.192, allocations: 59.67 MB / 1.506 GB, free: 57.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02693/3.219, allocations: 70.84 kB / 1.507 GB, free: 57.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003981/3.223, allocations: 164.1 kB / 1.507 GB, free: 57.04 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 251 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002478/3.226, allocations: 196 kB / 1.507 GB, free: 56.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/3.228, allocations: 375.5 kB / 1.507 GB, free: 56.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07197/3.3, allocations: 11.23 MB / 1.518 GB, free: 45.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.322e-05/3.3, allocations: 40 kB / 1.518 GB, free: 45.16 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000154/3.3, allocations: 55.98 kB / 1.518 GB, free: 45.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/3.3, allocations: 19.92 kB / 1.518 GB, free: 45.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07217/3.372, allocations: 16.74 MB / 1.535 GB, free: 28.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.316e-05/3.373, allocations: 8 kB / 1.535 GB, free: 28.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/3.376, allocations: 272.5 kB / 1.535 GB, free: 27.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03045/3.406, allocations: 4.443 MB / 1.539 GB, free: 23.47 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/3.407, allocations: 12 kB / 1.539 GB, free: 23.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4824/3.89, allocations: 57.24 MB / 1.595 GB, free: 277.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/3.89, allocations: 22.94 kB / 1.595 GB, free: 277.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0538/3.944, allocations: 15.07 MB / 1.61 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006802/3.951, allocations: 0.951 MB / 1.611 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002961/3.954, allocations: 12.81 kB / 1.611 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005752/3.959, allocations: 71.09 kB / 1.611 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/3.961, allocations: 217.9 kB / 1.611 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005237/3.961, allocations: 102.8 kB / 1.611 GB, free: 275.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002778/3.964, allocations: 1.199 MB / 1.612 GB, free: 275.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01001/3.974, allocations: 1.427 MB / 1.614 GB, free: 275.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/3.976, allocations: 150.7 kB / 1.614 GB, free: 275.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0334/4.009, allocations: 10.52 MB / 1.624 GB, free: 272.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/4.009, allocations: 3.719 kB / 1.624 GB, free: 272.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.02367/4.033, allocations: 7.035 MB / 1.631 GB, free: 270.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008389/4.041, allocations: 0.8371 MB / 1.632 GB, free: 270.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03694/4.078, allocations: 10.1 MB / 1.642 GB, free: 268.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01087/4.089, allocations: 4.089 MB / 1.646 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.733e-06/4.089, allocations: 0 / 1.646 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.2405/4.33, allocations: 92.84 MB / 1.736 GB, free: 238.7 MB / 0.8698 GB