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_R_N.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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.29/1.29, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.000902/0.0009021, allocations: 185.3 kB / 361.1 MB, free: 7.117 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.9693/0.9693, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007859/0.0007859, allocations: 90.8 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.244e-06, allocations: 4 kB / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3817, allocations: 115.3 MB / 0.9637 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.5319, allocations: 170.7 MB / 1.13 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/0.5322, allocations: 95.88 kB / 1.13 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.6946/1.227, allocations: 200.1 MB / 1.326 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001907/1.227, allocations: 141.4 kB / 1.326 GB, free: 115.6 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.007301/1.234, allocations: 4.958 MB / 1.331 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.947e-05/1.234, allocations: 8.312 kB / 1.331 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/1.239, allocations: 1.132 MB / 1.332 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005449/1.245, allocations: 3.722 MB / 1.336 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.245, allocations: 184.6 kB / 1.336 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006309/1.246, allocations: 332 kB / 1.336 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008057/1.254, allocations: 5.894 MB / 1.342 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009159/1.263, allocations: 8.042 MB / 1.35 GB, free: 111 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/1.263, allocations: 23.14 kB / 1.35 GB, free: 111 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004787/1.263, allocations: 15.62 kB / 1.35 GB, free: 111 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.264, allocations: 311.4 kB / 1.35 GB, free: 111 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02537/1.289, allocations: 40.41 MB / 1.389 GB, free: 84.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/1.292, allocations: 2.858 MB / 1.392 GB, free: 83.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/1.294, allocations: 2.117 MB / 1.394 GB, free: 83.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.407e-05/1.294, allocations: 21.69 kB / 1.394 GB, free: 83.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/1.294, allocations: 69.83 kB / 1.394 GB, free: 83.91 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 3.577e-06/1.294, allocations: 0 / 1.394 GB, free: 83.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.008002/1.302, allocations: 6.451 MB / 1.401 GB, free: 82.78 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/1.302, allocations: 76.84 kB / 1.401 GB, free: 82.71 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/1.304, allocations: 1.325 MB / 1.402 GB, free: 82.48 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/1.304, allocations: 33.55 kB / 1.402 GB, free: 82.45 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000657/1.304, allocations: 2.055 MB / 1.404 GB, free: 81.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/1.305, allocations: 0.697 MB / 1.405 GB, free: 80.73 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.305, allocations: 0 / 1.405 GB, free: 80.73 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.305, allocations: 412.9 kB / 1.405 GB, free: 80.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.306, allocations: 1.295 MB / 1.406 GB, free: 80.42 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.308, allocations: 2.07 MB / 1.409 GB, free: 79.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/1.31, allocations: 1.674 MB / 1.41 GB, free: 79.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.31, allocations: 7.781 kB / 1.41 GB, free: 79.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.00612/1.316, allocations: 4.714 MB / 1.415 GB, free: 78.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/1.316, allocations: 5.188 kB / 1.415 GB, free: 78.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.316, allocations: 25.41 kB / 1.415 GB, free: 78.97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/1.319, allocations: 1.44 MB / 1.416 GB, free: 78.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.32, allocations: 417.6 kB / 1.417 GB, free: 78.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.336, allocations: 15.52 MB / 1.432 GB, free: 69.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/1.338, allocations: 69.03 kB / 1.432 GB, free: 69.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/1.338, allocations: 107.5 kB / 1.432 GB, free: 69.06 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.0002973/1.338, allocations: 166.3 kB / 1.432 GB, free: 68.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/1.338, allocations: 271.1 kB / 1.432 GB, free: 68.77 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/1.344, allocations: 4.313 MB / 1.437 GB, free: 66.46 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/1.344, allocations: 20.62 kB / 1.437 GB, free: 66.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/1.344, allocations: 22.25 kB / 1.437 GB, free: 66.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.344, allocations: 15.89 kB / 1.437 GB, free: 66.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.356, allocations: 8.722 MB / 1.445 GB, free: 61.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.356, allocations: 5.875 kB / 1.445 GB, free: 61.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009537/1.357, allocations: 210.5 kB / 1.445 GB, free: 61.43 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/1.36, allocations: 1.402 MB / 1.447 GB, free: 60.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/1.36, allocations: 4 kB / 1.447 GB, free: 60.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.374, allocations: 15.49 MB / 1.462 GB, free: 44.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.374, allocations: 11.88 kB / 1.462 GB, free: 44.45 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005206/1.38, allocations: 4.751 MB / 1.466 GB, free: 39.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008678/1.38, allocations: 0.5956 MB / 1.467 GB, free: 38.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/1.381, allocations: 11.89 kB / 1.467 GB, free: 38.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.382, allocations: 47.94 kB / 1.467 GB, free: 38.82 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.382, allocations: 113.7 kB / 1.467 GB, free: 38.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.382, allocations: 60 kB / 1.467 GB, free: 38.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0009414/1.383, allocations: 0.9723 MB / 1.468 GB, free: 37.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002413/1.386, allocations: 1.016 MB / 1.469 GB, free: 36.64 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.000226/1.386, allocations: 129.1 kB / 1.469 GB, free: 36.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00496/1.391, allocations: 4.214 MB / 1.473 GB, free: 32.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.391, allocations: 4 kB / 1.473 GB, free: 32.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003218/1.394, allocations: 2.56 MB / 1.476 GB, free: 29.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.396, allocations: 0.6524 MB / 1.477 GB, free: 29.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/1.407, allocations: 7.558 MB / 1.484 GB, free: 21.34 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003362/1.41, allocations: 3.849 MB / 1.488 GB, free: 17.46 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/1.41, allocations: 0 / 1.488 GB, free: 17.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.06318/1.473, allocations: 46.51 MB / 1.533 GB, free: 3.785 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)