Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.093/2.093, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, allocations: 185.2 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001987/0.001986, allocations: 96.67 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.6e-05, allocations: 8 kB / 0.8503 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5324/0.5324, allocations: 115.2 MB / 0.9628 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.78, allocations: 170.6 MB / 1.129 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.7804, allocations: 92.55 kB / 1.129 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.109/1.889, allocations: 200.1 MB / 1.325 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003909/1.89, allocations: 148.3 kB / 1.325 GB, free: 153.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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01848/1.908, allocations: 4.942 MB / 1.33 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.908, allocations: 13.59 kB / 1.33 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/1.92, allocations: 1.132 MB / 1.331 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/1.933, allocations: 3.717 MB / 1.335 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003477/1.933, allocations: 185.3 kB / 1.335 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002345/1.936, allocations: 336.3 kB / 1.335 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01901/1.955, allocations: 5.884 MB / 1.341 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02702/1.982, allocations: 8.049 MB / 1.349 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002816/1.982, allocations: 17.83 kB / 1.349 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/1.984, allocations: 19.44 kB / 1.349 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003761/1.985, allocations: 309.4 kB / 1.349 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05744/2.042, allocations: 40.42 MB / 1.388 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006201/2.048, allocations: 2.863 MB / 1.391 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00409/2.052, allocations: 2.105 MB / 1.393 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/2.053, allocations: 25.94 kB / 1.393 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/2.053, allocations: 62.53 kB / 1.393 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=209): time 4.588e-06/2.053, allocations: 0 / 1.393 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=212): time 0.01593/2.069, allocations: 6.459 MB / 1.4 GB, free: 110 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/2.069, allocations: 73.41 kB / 1.4 GB, free: 109.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/2.071, allocations: 1.328 MB / 1.401 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/2.071, allocations: 25.7 kB / 1.401 GB, free: 108.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009078/2.072, allocations: 2.06 MB / 1.403 GB, free: 107 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/2.073, allocations: 0.6976 MB / 1.404 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/2.073, allocations: 0 / 1.404 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001657/2.073, allocations: 414.1 kB / 1.404 GB, free: 106 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/2.076, allocations: 1.301 MB / 1.405 GB, free: 105.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00314/2.079, allocations: 2.059 MB / 1.407 GB, free: 103.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/2.083, allocations: 1.682 MB / 1.409 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/2.083, allocations: 8 kB / 1.409 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01231/2.095, allocations: 4.715 MB / 1.414 GB, free: 97.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/2.095, allocations: 8 kB / 1.414 GB, free: 97.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/2.095, allocations: 24 kB / 1.414 GB, free: 97.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005791/2.101, allocations: 1.428 MB / 1.415 GB, free: 96.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/2.104, allocations: 423.3 kB / 1.416 GB, free: 96.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02939/2.134, allocations: 15.52 MB / 1.431 GB, free: 80.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/2.137, allocations: 67.92 kB / 1.431 GB, free: 80.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/2.137, allocations: 108 kB / 1.431 GB, free: 79.94 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.000567/2.138, allocations: 176 kB / 1.431 GB, free: 79.76 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/2.139, allocations: 268.9 kB / 1.431 GB, free: 79.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/2.15, allocations: 4.306 MB / 1.435 GB, free: 75.19 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.462e-05/2.15, allocations: 20 kB / 1.436 GB, free: 75.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.188e-05/2.15, allocations: 16 kB / 1.436 GB, free: 75.16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/2.15, allocations: 11.95 kB / 1.436 GB, free: 75.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/2.172, allocations: 8.734 MB / 1.444 GB, free: 66.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/2.172, allocations: 4 kB / 1.444 GB, free: 66.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/2.174, allocations: 211.7 kB / 1.444 GB, free: 66.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005611/2.18, allocations: 1.409 MB / 1.446 GB, free: 64.72 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/2.18, allocations: 8 kB / 1.446 GB, free: 64.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0288/2.209, allocations: 15.49 MB / 1.461 GB, free: 48.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/2.209, allocations: 15.94 kB / 1.461 GB, free: 48.77 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01124/2.22, allocations: 4.74 MB / 1.465 GB, free: 43.83 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/2.222, allocations: 0.6111 MB / 1.466 GB, free: 43.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006069/2.223, allocations: 15.89 kB / 1.466 GB, free: 43.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/2.225, allocations: 43.94 kB / 1.466 GB, free: 43.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/2.225, allocations: 117.7 kB / 1.466 GB, free: 43.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/2.226, allocations: 56 kB / 1.466 GB, free: 42.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001814/2.228, allocations: 0.9724 MB / 1.467 GB, free: 41.98 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004024/2.232, allocations: 1.004 MB / 1.468 GB, free: 40.98 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.0003993/2.232, allocations: 123 kB / 1.468 GB, free: 40.85 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.009959/2.242, allocations: 4.21 MB / 1.472 GB, free: 36.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/2.242, allocations: 0 / 1.472 GB, free: 36.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006507/2.249, allocations: 2.559 MB / 1.475 GB, free: 34.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/2.254, allocations: 0.6615 MB / 1.476 GB, free: 33.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/2.275, allocations: 7.556 MB / 1.483 GB, free: 25.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006598/2.281, allocations: 3.845 MB / 1.487 GB, free: 21.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.553e-06/2.281, allocations: 0 / 1.487 GB, free: 21.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.124/2.405, allocations: 46.52 MB / 1.532 GB, free: 8.121 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)