Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.308/1.308, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.001001/0.001001, allocations: 188.2 kB / 366.3 MB, free: 1.98 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.002/1.002, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0007895/0.0007895, allocations: 88.05 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.622e-06, allocations: 0 / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.423, allocations: 116.3 MB / 0.9726 GB, free: 68.25 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.5816, allocations: 171.3 MB / 1.14 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5819, allocations: 92.59 kB / 1.14 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.7043/1.286, allocations: 197.8 MB / 1.333 GB, free: 141.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002515/1.286, allocations: 131.2 kB / 1.333 GB, free: 141.3 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.008896/1.295, allocations: 4.526 MB / 1.338 GB, free: 137 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/1.295, allocations: 16.03 kB / 1.338 GB, free: 137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005376/1.301, allocations: 1.03 MB / 1.339 GB, free: 136 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/1.306, allocations: 3.421 MB / 1.342 GB, free: 133.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/1.306, allocations: 184 kB / 1.342 GB, free: 133.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006142/1.307, allocations: 327.6 kB / 1.343 GB, free: 132.9 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007146/1.314, allocations: 5.643 MB / 1.348 GB, free: 129.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008805/1.323, allocations: 7.85 MB / 1.356 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.323, allocations: 27.7 kB / 1.356 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/1.323, allocations: 19.91 kB / 1.356 GB, free: 123.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001884/1.323, allocations: 329.7 kB / 1.356 GB, free: 123 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/1.348, allocations: 39.12 MB / 1.394 GB, free: 86.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/1.35, allocations: 2.145 MB / 1.396 GB, free: 83.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/1.352, allocations: 1.937 MB / 1.398 GB, free: 82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.532e-05/1.352, allocations: 22 kB / 1.398 GB, free: 81.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/1.352, allocations: 48.56 kB / 1.398 GB, free: 81.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=179): time 3.257e-06/1.352, allocations: 0 / 1.398 GB, free: 81.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=182): time 0.007884/1.36, allocations: 6.072 MB / 1.404 GB, free: 75.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/1.36, allocations: 73.31 kB / 1.404 GB, free: 75.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000991/1.361, allocations: 1.101 MB / 1.405 GB, free: 74.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-05/1.361, allocations: 25.7 kB / 1.405 GB, free: 74.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/1.362, allocations: 1.979 MB / 1.407 GB, free: 72.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/1.362, allocations: 0.6122 MB / 1.408 GB, free: 72.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/1.362, allocations: 3.938 kB / 1.408 GB, free: 72 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.423e-05/1.362, allocations: 394.3 kB / 1.408 GB, free: 71.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/1.363, allocations: 1.176 MB / 1.409 GB, free: 70.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/1.365, allocations: 1.842 MB / 1.411 GB, free: 68.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/1.366, allocations: 1.536 MB / 1.413 GB, free: 66.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.366, allocations: 4 kB / 1.413 GB, free: 66.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005532/1.372, allocations: 4.424 MB / 1.417 GB, free: 62.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/1.372, allocations: 4 kB / 1.417 GB, free: 62.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.372, allocations: 24 kB / 1.417 GB, free: 62.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003312/1.375, allocations: 1.563 MB / 1.419 GB, free: 60.72 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/1.376, allocations: 331.4 kB / 1.419 GB, free: 60.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/1.391, allocations: 15.54 MB / 1.434 GB, free: 44.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.392, allocations: 55.94 kB / 1.434 GB, free: 44.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.392, allocations: 93.64 kB / 1.434 GB, free: 44.26 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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 {(14,34.7%) 24,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002449/1.393, allocations: 160.4 kB / 1.434 GB, free: 44.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/1.393, allocations: 213.5 kB / 1.435 GB, free: 43.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005432/1.398, allocations: 4.085 MB / 1.439 GB, free: 39.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.398, allocations: 16 kB / 1.439 GB, free: 39.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.398, allocations: 24 kB / 1.439 GB, free: 39.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.398, allocations: 7.969 kB / 1.439 GB, free: 39.75 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/1.409, allocations: 8.087 MB / 1.447 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.409, allocations: 4 kB / 1.447 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/1.409, allocations: 155.8 kB / 1.447 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/1.413, allocations: 1.525 MB / 1.448 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/1.413, allocations: 8 kB / 1.448 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/1.428, allocations: 15.56 MB / 1.463 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.428, allocations: 4 kB / 1.463 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005681/1.434, allocations: 4.479 MB / 1.468 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009175/1.435, allocations: 0.5257 MB / 1.468 GB, free: 8.695 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/1.435, allocations: 11.98 kB / 1.468 GB, free: 8.684 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/1.436, allocations: 31.95 kB / 1.468 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/1.436, allocations: 105.7 kB / 1.468 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.436, allocations: 44 kB / 1.468 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0008786/1.437, allocations: 0.8061 MB / 1.469 GB, free: 7.707 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002438/1.439, allocations: 0.8945 MB / 1.47 GB, free: 6.812 MB / 0.8386 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 (77): * Single equations (assignments): 73 * 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%) 16,(6,66.7%) 16,(6,66.7%) 24,(14,34.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000211/1.44, allocations: 127 kB / 1.47 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005104/1.445, allocations: 4.006 MB / 1.474 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.445, allocations: 4 kB / 1.474 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.003533/1.448, allocations: 2.501 MB / 1.477 GB, free: 100 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.451, allocations: 0.6098 MB / 1.477 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.468, allocations: 7.052 MB / 1.484 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005364/1.474, allocations: 3.691 MB / 1.488 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/1.474, allocations: 3.938 kB / 1.488 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of Templates: time 0.06273/1.536, allocations: 41.04 MB / 1.528 GB, free: 11.95 MB / 0.9011 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)