Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [: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.1.4-maint.8.1.x/package.mo): time 1.373/1.373, allocations: 289.8 MB / 297.1 MB, free: 8.957 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.0009054/0.0009054, allocations: 200.3 kB / 366.3 MB, free: 11.35 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.1 MB / 0.6256 GB, free: 11.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 84.73 kB / 0.7396 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.511e-06/5.521e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 116.3 MB / 0.9726 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.6068, allocations: 163.8 MB / 1.133 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.607, allocations: 94.09 kB / 1.133 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.07338/0.6804, allocations: 36.43 MB / 1.168 GB, free: 6.152 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.233e-05/0.6805, allocations: 21.72 kB / 1.168 GB, free: 6.133 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001411/0.6819, allocations: 0.963 MB / 1.169 GB, free: 5.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.682, allocations: 12.03 kB / 1.169 GB, free: 5.168 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6834, allocations: 242.6 kB / 1.169 GB, free: 4.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/0.6842, allocations: 0.5458 MB / 1.17 GB, free: 4.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/0.6843, allocations: 20 kB / 1.17 GB, free: 4.398 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/0.6844, allocations: 47.5 kB / 1.17 GB, free: 4.355 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009139/0.6853, allocations: 0.6185 MB / 1.171 GB, free: 3.945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6865, allocations: 1.044 MB / 1.172 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.6865, allocations: 11.92 kB / 1.172 GB, free: 2.957 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.6866, allocations: 4 kB / 1.172 GB, free: 2.953 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.653e-05/0.6866, allocations: 56.84 kB / 1.172 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.6911, allocations: 5.79 MB / 1.177 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.6919, allocations: 0.5184 MB / 1.178 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.6922, allocations: 327.9 kB / 1.178 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.6923, allocations: 4.438 kB / 1.178 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.6923, allocations: 38.69 kB / 1.178 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.125e-06/0.6923, allocations: 0 / 1.178 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.001826/0.6941, allocations: 1.187 MB / 1.179 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.6942, allocations: 59.84 kB / 1.179 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.6945, allocations: 401.3 kB / 1.18 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.6946, allocations: 25.7 kB / 1.18 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.6947, allocations: 347.9 kB / 1.18 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6948, allocations: 165.1 kB / 1.18 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.6949, allocations: 0 / 1.18 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.695, allocations: 370.2 kB / 1.181 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003157/0.6953, allocations: 264.6 kB / 1.181 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.6957, allocations: 449.7 kB / 1.181 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.6961, allocations: 330.8 kB / 1.182 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.6961, allocations: 4 kB / 1.182 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001465/0.6976, allocations: 0.9873 MB / 1.183 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6976, allocations: 4 kB / 1.183 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.6976, allocations: 4 kB / 1.183 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007688/0.6984, allocations: 275.9 kB / 1.183 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.6989, allocations: 110.8 kB / 1.183 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004981/0.7039, allocations: 6.203 MB / 1.189 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/0.7043, allocations: 19.97 kB / 1.189 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/0.7044, allocations: 27.48 kB / 1.189 GB, free: 2.367 MB / 0.7136 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 (63): * Single equations (assignments): 59 * 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%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.7045, allocations: 128.5 kB / 1.189 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.7046, allocations: 67.25 kB / 1.189 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.7059, allocations: 0.8387 MB / 1.19 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7059, allocations: 4 kB / 1.19 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7059, allocations: 8.188 kB / 1.19 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7059, allocations: 3.984 kB / 1.19 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.708, allocations: 1.609 MB / 1.192 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.708, allocations: 4 kB / 1.192 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.7083, allocations: 51.91 kB / 1.192 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007158/0.709, allocations: 268 kB / 1.192 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.7091, allocations: 4 kB / 1.192 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004855/0.7139, allocations: 6.187 MB / 1.198 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7139, allocations: 11.88 kB / 1.198 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001269/0.7152, allocations: 1.011 MB / 1.199 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.7154, allocations: 187.2 kB / 1.199 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-05/0.7155, allocations: 0 / 1.199 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.7159, allocations: 19.97 kB / 1.199 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.7159, allocations: 27.84 kB / 1.199 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.716, allocations: 15.94 kB / 1.199 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002585/0.7162, allocations: 299.8 kB / 1.2 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006467/0.7169, allocations: 196 kB / 1.2 GB, free: 8.266 MB / 0.7292 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 (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.717, allocations: 116.7 kB / 1.2 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.7186, allocations: 1.147 MB / 1.201 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7186, allocations: 0 / 1.201 GB, free: 7.172 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009928/0.7196, allocations: 0.8109 MB / 1.202 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007324/0.7203, allocations: 165.7 kB / 1.202 GB, free: 6.309 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.722, allocations: 0.9891 MB / 1.203 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006383/0.7226, allocations: 1.062 MB / 1.204 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.7226, allocations: 0 / 1.204 GB, free: 4.316 MB / 0.7292 GB Notification: Performance of Templates: time 0.01494/0.7376, allocations: 10.1 MB / 1.214 GB, free: 10.33 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)