Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.313/1.313, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009428/0.0009429, allocations: 181.2 kB / 361.1 MB, free: 7.078 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.9969/0.9969, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0007337/0.0007337, allocations: 98.62 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 0 / 0.8511 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3806, allocations: 115.3 MB / 0.9637 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.5428, allocations: 184.2 MB / 1.144 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5431, allocations: 91.94 kB / 1.144 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.8236/1.367, allocations: 265.7 MB / 1.403 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000323/1.367, allocations: 142.2 kB / 1.403 GB, free: 114.8 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.01033/1.377, allocations: 4.713 MB / 1.408 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/1.377, allocations: 12.03 kB / 1.408 GB, free: 110 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009217/1.387, allocations: 1.421 MB / 1.409 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007681/1.394, allocations: 4.195 MB / 1.413 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.927e-05/1.394, allocations: 164 kB / 1.413 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006529/1.395, allocations: 299.8 kB / 1.414 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007519/1.403, allocations: 5.761 MB / 1.419 GB, free: 98.18 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008808/1.411, allocations: 7.718 MB / 1.427 GB, free: 90.01 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/1.412, allocations: 35.66 kB / 1.427 GB, free: 89.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000491/1.412, allocations: 12 kB / 1.427 GB, free: 89.96 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001988/1.412, allocations: 341.9 kB / 1.427 GB, free: 89.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/1.441, allocations: 39.09 MB / 1.465 GB, free: 47.55 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/1.444, allocations: 2.563 MB / 1.468 GB, free: 44.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/1.446, allocations: 2.514 MB / 1.47 GB, free: 42.47 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000151/1.446, allocations: 30.09 kB / 1.47 GB, free: 42.44 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/1.446, allocations: 60.66 kB / 1.47 GB, free: 42.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=265): time 4.288e-06/1.446, allocations: 0 / 1.47 GB, free: 42.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=424): time 0.05995/1.506, allocations: 27.94 MB / 1.498 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/1.506, allocations: 98.72 kB / 1.498 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/1.508, allocations: 1.638 MB / 1.499 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/1.508, allocations: 25.7 kB / 1.499 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005328/1.509, allocations: 1.898 MB / 1.501 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007413/1.509, allocations: 1.378 MB / 1.503 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/1.51, allocations: 0 / 1.503 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.51, allocations: 487.3 kB / 1.503 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/1.513, allocations: 2.738 MB / 1.506 GB, free: 6.023 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003264/1.516, allocations: 3.679 MB / 1.509 GB, free: 1.945 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/1.52, allocations: 3.359 MB / 1.513 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.926e-05/1.52, allocations: 8 kB / 1.513 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=557) (initialization): time 0.02522/1.545, allocations: 11.38 MB / 1.524 GB, free: 3.164 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.545, allocations: 4 kB / 1.524 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.474e-05/1.545, allocations: 31.94 kB / 1.524 GB, free: 3.129 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01845/1.564, allocations: 4.959 MB / 1.529 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/1.566, allocations: 0.4914 MB / 1.529 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07114/1.637, allocations: 59.68 MB / 1.587 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/1.64, allocations: 67.88 kB / 1.588 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006132/1.641, allocations: 168 kB / 1.588 GB, free: 14.98 MB / 0.948 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.0008302/1.642, allocations: 192 kB / 1.588 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007615/1.643, allocations: 371.6 kB / 1.588 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/1.668, allocations: 11.24 MB / 1.599 GB, free: 3.141 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-05/1.668, allocations: 40 kB / 1.599 GB, free: 3.102 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.552e-05/1.668, allocations: 48 kB / 1.599 GB, free: 3.055 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/1.668, allocations: 19.92 kB / 1.599 GB, free: 3.035 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03466/1.703, allocations: 16.74 MB / 1.616 GB, free: 2.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/1.703, allocations: 8 kB / 1.616 GB, free: 2.195 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/1.704, allocations: 275.7 kB / 1.616 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2472/1.952, allocations: 4.437 MB / 1.62 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004888/1.952, allocations: 19.03 kB / 1.62 GB, free: 323.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05343/2.005, allocations: 57.23 MB / 1.676 GB, free: 295.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/2.006, allocations: 12.66 kB / 1.676 GB, free: 295.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02326/2.029, allocations: 15.08 MB / 1.691 GB, free: 293.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001717/2.031, allocations: 0.9538 MB / 1.692 GB, free: 293.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007734/2.031, allocations: 17.7 kB / 1.692 GB, free: 293.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/2.033, allocations: 72.19 kB / 1.692 GB, free: 293.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000406/2.034, allocations: 218.8 kB / 1.692 GB, free: 293.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/2.034, allocations: 102.2 kB / 1.692 GB, free: 293.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001432/2.036, allocations: 1.201 MB / 1.693 GB, free: 293.1 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003958/2.039, allocations: 1.43 MB / 1.695 GB, free: 293.1 MB / 0.9636 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.000399/2.04, allocations: 146.8 kB / 1.695 GB, free: 293 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01497/2.055, allocations: 10.52 MB / 1.705 GB, free: 290.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/2.055, allocations: 0 / 1.705 GB, free: 290.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01064/2.066, allocations: 7.034 MB / 1.712 GB, free: 287.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/2.069, allocations: 0.8383 MB / 1.713 GB, free: 287.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/2.087, allocations: 10.11 MB / 1.723 GB, free: 285.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004259/2.091, allocations: 4.082 MB / 1.727 GB, free: 285.1 MB / 0.9636 GB Notification: Performance of SimCode: time 6.41e-07/2.091, allocations: 0.8438 kB / 1.727 GB, free: 285.1 MB / 0.9636 GB Notification: Performance of Templates: time 0.1174/2.208, allocations: 92.84 MB / 1.817 GB, free: 265.6 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)