Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") [: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/Complex 3.2.2+maint.om/package.mo): time 0.001233/0.001233, allocations: 188.8 kB / 8.132 MB, free: 2.168 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.268/1.268, allocations: 194.2 MB / 202.8 MB, free: 8.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001917/0.001917, allocations: 120.7 kB / 247.8 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2146/0.2146, allocations: 37.91 MB / 330.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.476e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 53.22 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4577, allocations: 94.25 MB / 0.5247 GB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4581, allocations: 81.55 kB / 0.5248 GB, free: 9.195 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07409/0.5322, allocations: 25.66 MB / 0.5498 GB, free: 7.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.626e-05/0.5323, allocations: 20 kB / 0.5498 GB, free: 7.457 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002883/0.5352, allocations: 1.014 MB / 0.5508 GB, free: 6.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.5353, allocations: 8.031 kB / 0.5508 GB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.5366, allocations: 170.4 kB / 0.551 GB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.5407, allocations: 1.3 MB / 0.5523 GB, free: 5.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.5408, allocations: 31.98 kB / 0.5523 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.541, allocations: 51.25 kB / 0.5523 GB, free: 5.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001698/0.5427, allocations: 0.8503 MB / 0.5532 GB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.5446, allocations: 1.048 MB / 0.5542 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.255e-05/0.5446, allocations: 7.938 kB / 0.5542 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.129e-05/0.5447, allocations: 0 / 0.5542 GB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.5448, allocations: 80.7 kB / 0.5543 GB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006399/0.5512, allocations: 4.113 MB / 0.5583 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.5524, allocations: 0.5928 MB / 0.5589 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004573/0.5529, allocations: 312.5 kB / 0.5592 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.5529, allocations: 20.47 kB / 0.5592 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.553, allocations: 40.19 kB / 0.5592 GB, free: 15.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 4.067e-06/0.553, allocations: 0 / 0.5592 GB, free: 15.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002576/0.5556, allocations: 1.454 MB / 0.5606 GB, free: 13.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.5557, allocations: 93.69 kB / 0.5607 GB, free: 13.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.5562, allocations: 455.8 kB / 0.5612 GB, free: 13.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.5562, allocations: 29.7 kB / 0.5612 GB, free: 13.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.5565, allocations: 392.4 kB / 0.5616 GB, free: 12.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.5566, allocations: 211.8 kB / 0.5618 GB, free: 12.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.163e-05/0.5567, allocations: 0 / 0.5618 GB, free: 12.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5568, allocations: 381.6 kB / 0.5621 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.5572, allocations: 273.7 kB / 0.5624 GB, free: 12.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000569/0.5578, allocations: 0.6069 MB / 0.563 GB, free: 11.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.5583, allocations: 402.1 kB / 0.5634 GB, free: 11.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5584, allocations: 4 kB / 0.5634 GB, free: 11.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001909/0.5603, allocations: 1.093 MB / 0.5644 GB, free: 10.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5603, allocations: 4 kB / 0.5645 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001184/0.5615, allocations: 0.6922 MB / 0.5651 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.5623, allocations: 212.3 kB / 0.5653 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.563, allocations: 209.5 kB / 0.5655 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.5674, allocations: 4.646 MB / 0.5701 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.568, allocations: 19.97 kB / 0.5701 GB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.5681, allocations: 50.06 kB / 0.5701 GB, free: 4.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 106 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002307/0.5683, allocations: 159.1 kB / 0.5703 GB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5684, allocations: 63.25 kB / 0.5703 GB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009702/0.5694, allocations: 0.6218 MB / 0.571 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.5694, allocations: 4 kB / 0.571 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5694, allocations: 4.141 kB / 0.571 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5695, allocations: 7.969 kB / 0.571 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.572, allocations: 1.478 MB / 0.5724 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.572, allocations: 0 / 0.5724 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000769/0.5728, allocations: 165.9 kB / 0.5726 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.5728, allocations: 4 kB / 0.5726 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.5728, allocations: 8 kB / 0.5726 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5729, allocations: 7.984 kB / 0.5726 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.5729, allocations: 4.281 kB / 0.5726 GB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001252/0.5741, allocations: 1.135 MB / 0.5737 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.5744, allocations: 177.2 kB / 0.5739 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.5745, allocations: 10.67 kB / 0.5739 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.5748, allocations: 11.91 kB / 0.5739 GB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5749, allocations: 46.12 kB / 0.5739 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.575, allocations: 23.05 kB / 0.574 GB, free: 1.324 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003394/0.5753, allocations: 324.9 kB / 0.5743 GB, free: 1.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009254/0.5763, allocations: 199.6 kB / 0.5745 GB, free: 0.8867 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002599/0.5765, allocations: 128.8 kB / 0.5746 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.578, allocations: 1.03 MB / 0.5756 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.578, allocations: 3.312 kB / 0.5756 GB, free: 15.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000405/0.5784, allocations: 323.3 kB / 0.5759 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006961/0.5792, allocations: 133.1 kB / 0.576 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/0.5819, allocations: 1.593 MB / 0.5776 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008523/0.5828, allocations: 1.141 MB / 0.5787 GB, free: 12.69 MB / 394.7 MB Notification: Performance of SimCode: time 4e-07/0.5828, allocations: 4 kB / 0.5787 GB, free: 12.68 MB / 394.7 MB Notification: Performance of Templates: time 0.01628/0.5991, allocations: 8.46 MB / 0.587 GB, free: 4.25 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)