Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [: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.329/1.329, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.0009464/0.0009464, allocations: 185.3 kB / 366.3 MB, free: 1.988 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.017/1.017, allocations: 205.1 MB / 0.6256 GB, free: 7.426 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.0008162/0.0008162, allocations: 101.5 kB / 0.7396 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.152e-06, allocations: 0 / 0.859 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4136, allocations: 116.3 MB / 0.9726 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.5695, allocations: 171.7 MB / 1.14 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.5697, allocations: 93.16 kB / 1.14 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.6635/1.233, allocations: 200.1 MB / 1.336 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002339/1.233, allocations: 137.7 kB / 1.336 GB, free: 182.3 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01007/1.244, allocations: 4.953 MB / 1.341 GB, free: 180 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.244, allocations: 8.188 kB / 1.341 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006505/1.25, allocations: 1.133 MB / 1.342 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008027/1.258, allocations: 3.725 MB / 1.345 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/1.258, allocations: 186.7 kB / 1.346 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/1.26, allocations: 329.2 kB / 1.346 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009003/1.269, allocations: 5.887 MB / 1.352 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/1.279, allocations: 8.048 MB / 1.36 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001068/1.279, allocations: 20.66 kB / 1.36 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004932/1.28, allocations: 14.56 kB / 1.36 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/1.28, allocations: 311.1 kB / 1.36 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02869/1.308, allocations: 40.4 MB / 1.399 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002881/1.311, allocations: 2.858 MB / 1.402 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.313, allocations: 2.12 MB / 1.404 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-05/1.313, allocations: 22 kB / 1.404 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/1.314, allocations: 60.56 kB / 1.404 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.88e-06/1.314, allocations: 3.938 kB / 1.404 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.008246/1.322, allocations: 6.462 MB / 1.411 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/1.322, allocations: 77.34 kB / 1.411 GB, free: 124 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/1.323, allocations: 1.321 MB / 1.412 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/1.323, allocations: 33.7 kB / 1.412 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005691/1.324, allocations: 2.059 MB / 1.414 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000389/1.324, allocations: 0.7006 MB / 1.415 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/1.324, allocations: 0 / 1.415 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/1.325, allocations: 411.2 kB / 1.415 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/1.326, allocations: 1.297 MB / 1.416 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.327, allocations: 2.065 MB / 1.418 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.329, allocations: 1.676 MB / 1.42 GB, free: 114 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.329, allocations: 8 kB / 1.42 GB, free: 114 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.00578/1.335, allocations: 4.71 MB / 1.425 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.335, allocations: 4 kB / 1.425 GB, free: 109.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/1.335, allocations: 28 kB / 1.425 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/1.338, allocations: 1.444 MB / 1.426 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.339, allocations: 419.3 kB / 1.426 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.353, allocations: 15.52 MB / 1.442 GB, free: 91.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.355, allocations: 71.92 kB / 1.442 GB, free: 91.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/1.355, allocations: 104 kB / 1.442 GB, free: 91.24 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 215 * 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 {(6,66.7%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000321/1.355, allocations: 172.2 kB / 1.442 GB, free: 91.06 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/1.356, allocations: 264.9 kB / 1.442 GB, free: 90.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005312/1.361, allocations: 4.314 MB / 1.446 GB, free: 86.48 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.361, allocations: 24 kB / 1.446 GB, free: 86.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/1.361, allocations: 16 kB / 1.446 GB, free: 86.45 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/1.361, allocations: 7.969 kB / 1.446 GB, free: 86.44 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/1.372, allocations: 8.716 MB / 1.455 GB, free: 77.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.372, allocations: 8.094 kB / 1.455 GB, free: 77.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/1.373, allocations: 215.7 kB / 1.455 GB, free: 77.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002709/1.375, allocations: 1.392 MB / 1.457 GB, free: 76.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.375, allocations: 4 kB / 1.457 GB, free: 76.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01391/1.389, allocations: 15.51 MB / 1.472 GB, free: 60.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.389, allocations: 4 kB / 1.472 GB, free: 60.08 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005199/1.395, allocations: 4.755 MB / 1.476 GB, free: 55.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000985/1.396, allocations: 0.5995 MB / 1.477 GB, free: 54.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/1.396, allocations: 7.906 kB / 1.477 GB, free: 54.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.397, allocations: 51.92 kB / 1.477 GB, free: 54.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/1.397, allocations: 117.7 kB / 1.477 GB, free: 54.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.397, allocations: 60 kB / 1.477 GB, free: 54.28 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001001/1.398, allocations: 0.9685 MB / 1.478 GB, free: 53.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002547/1.401, allocations: 1.012 MB / 1.479 GB, free: 52.28 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002217/1.401, allocations: 134.9 kB / 1.479 GB, free: 52.14 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00534/1.407, allocations: 4.21 MB / 1.483 GB, free: 47.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.407, allocations: 0 / 1.483 GB, free: 47.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003276/1.41, allocations: 2.56 MB / 1.486 GB, free: 45.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.413, allocations: 0.6558 MB / 1.486 GB, free: 44.66 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.427, allocations: 7.546 MB / 1.494 GB, free: 36.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003445/1.43, allocations: 3.853 MB / 1.498 GB, free: 33.09 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/1.43, allocations: 0 / 1.498 GB, free: 33.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.06367/1.494, allocations: 46.5 MB / 1.543 GB, free: 3.316 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)