Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009304/0.0009305, allocations: 183.4 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9823/0.9823, allocations: 205.1 MB / 0.6195 GB, free: 11.96 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007718/0.0007718, allocations: 101 kB / 0.7326 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.831e-06/5.861e-06, allocations: 0 / 0.8511 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.395, allocations: 115.3 MB / 0.9637 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.5412, allocations: 163.6 MB / 1.123 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.5414, allocations: 92.97 kB / 1.124 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.07967/0.6211, allocations: 36.76 MB / 1.159 GB, free: 3.426 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.021e-05/0.6211, allocations: 20 kB / 1.159 GB, free: 3.406 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001229/0.6224, allocations: 0.8644 MB / 1.16 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.6224, allocations: 8.531 kB / 1.16 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.6239, allocations: 226.7 kB / 1.16 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.6248, allocations: 0.5444 MB / 1.161 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.6248, allocations: 20 kB / 1.161 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.6249, allocations: 41.84 kB / 1.161 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008289/0.6257, allocations: 0.5655 MB / 1.162 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.627, allocations: 1.008 MB / 1.163 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.627, allocations: 11.88 kB / 1.163 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.6271, allocations: 4 kB / 1.163 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.011e-05/0.6271, allocations: 61.27 kB / 1.163 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.6315, allocations: 5.68 MB / 1.168 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.632, allocations: 390.5 kB / 1.169 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/0.6323, allocations: 300.7 kB / 1.169 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.6324, allocations: 8 kB / 1.169 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6324, allocations: 38.55 kB / 1.169 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.6324, allocations: 4 kB / 1.169 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.00197/0.6344, allocations: 1.135 MB / 1.17 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.6344, allocations: 59.19 kB / 1.17 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.6347, allocations: 329.2 kB / 1.17 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.6348, allocations: 25.7 kB / 1.17 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.6349, allocations: 335 kB / 1.171 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.672e-05/0.635, allocations: 138 kB / 1.171 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.6351, allocations: 0 / 1.171 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6352, allocations: 362.7 kB / 1.171 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.6355, allocations: 227 kB / 1.171 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.6359, allocations: 413.2 kB / 1.172 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.6362, allocations: 296.4 kB / 1.172 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6363, allocations: 0 / 1.172 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001536/0.6378, allocations: 0.9059 MB / 1.173 GB, free: 4.641 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.6378, allocations: 4 kB / 1.173 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6378, allocations: 8 kB / 1.173 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009145/0.6388, allocations: 287.6 kB / 1.173 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.6391, allocations: 87.83 kB / 1.173 GB, free: 4.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005264/0.6444, allocations: 6.217 MB / 1.179 GB, free: 13.58 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.6447, allocations: 11.98 kB / 1.179 GB, free: 13.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.6447, allocations: 24 kB / 1.18 GB, free: 13.55 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 47 * 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: 4 {(3,88.9%) 5,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.6448, allocations: 127.5 kB / 1.18 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.221e-05/0.6449, allocations: 55.34 kB / 1.18 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.6464, allocations: 0.822 MB / 1.18 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6464, allocations: 4 kB / 1.18 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.6464, allocations: 4 kB / 1.18 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6465, allocations: 1.375 kB / 1.18 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.6488, allocations: 1.53 MB / 1.182 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6488, allocations: 1.312 kB / 1.182 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.649, allocations: 39.97 kB / 1.182 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008671/0.6499, allocations: 282.1 kB / 1.182 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.65, allocations: 3.984 kB / 1.182 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005336/0.6553, allocations: 6.185 MB / 1.188 GB, free: 3.945 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6553, allocations: 3.938 kB / 1.188 GB, free: 3.941 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001455/0.6568, allocations: 0.9936 MB / 1.189 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.657, allocations: 172.4 kB / 1.189 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.6571, allocations: 9.672 kB / 1.189 GB, free: 2.664 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6573, allocations: 4 kB / 1.189 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.6574, allocations: 27.91 kB / 1.19 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.6574, allocations: 11.98 kB / 1.19 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0002282/0.6576, allocations: 251 kB / 1.19 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006443/0.6583, allocations: 171.9 kB / 1.19 GB, free: 2.211 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(3,88.9%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/0.6584, allocations: 112 kB / 1.19 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.66, allocations: 1.064 MB / 1.191 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.66, allocations: 0 / 1.191 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.661, allocations: 0.7648 MB / 1.192 GB, free: 192 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.6618, allocations: 151.3 kB / 1.192 GB, free: 52 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.6634, allocations: 0.9146 MB / 1.193 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005976/0.664, allocations: 1.028 MB / 1.194 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of SimCode: time 2.81e-07/0.664, allocations: 0 / 1.194 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.01358/0.6776, allocations: 8.719 MB / 1.202 GB, free: 5.465 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)