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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001058/0.001058, allocations: 188.5 kB / 8.353 MB, free: 0.707 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.548/1.548, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001604/0.001604, allocations: 116.2 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1704/0.1704, allocations: 37.92 MB / 330.9 MB, free: 7.305 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.268e-05/1.272e-05, allocations: 0 / 390.3 MB, free: 78.26 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 53.25 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3537/0.4576, allocations: 94.27 MB / 0.5253 GB, free: 9.82 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001918/0.4578, allocations: 78.53 kB / 0.5253 GB, free: 9.812 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06637/0.5242, allocations: 26 MB / 0.5507 GB, free: 7.805 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5243, allocations: 0 / 0.5507 GB, free: 7.805 MB / 363.1 MB Notification: Performance of Transformations before backend: time 4.379e-05/0.5243, allocations: 16 kB / 0.5507 GB, free: 7.789 MB / 363.1 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.001787/0.5261, allocations: 1.008 MB / 0.5517 GB, free: 6.789 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5262, allocations: 12.03 kB / 0.5517 GB, free: 6.777 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009134/0.5271, allocations: 170.2 kB / 0.5519 GB, free: 6.613 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.5303, allocations: 1.285 MB / 0.5532 GB, free: 5.5 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.5303, allocations: 35.36 kB / 0.5532 GB, free: 5.469 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.5305, allocations: 48 kB / 0.5532 GB, free: 5.422 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001206/0.5317, allocations: 0.8206 MB / 0.554 GB, free: 4.848 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5331, allocations: 1.023 MB / 0.555 GB, free: 4.008 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.5331, allocations: 3.906 kB / 0.555 GB, free: 4.004 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.5332, allocations: 4 kB / 0.555 GB, free: 4 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.921e-05/0.5333, allocations: 84.89 kB / 0.5551 GB, free: 3.926 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004828/0.5381, allocations: 4.09 MB / 0.5591 GB, free: 240 kB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009557/0.5391, allocations: 0.5749 MB / 0.5597 GB, free: 15.8 MB / 379.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.5395, allocations: 305.8 kB / 0.56 GB, free: 15.58 MB / 379.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.802e-05/0.5396, allocations: 12.48 kB / 0.56 GB, free: 15.57 MB / 379.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.45e-05/0.5397, allocations: 45.06 kB / 0.56 GB, free: 15.52 MB / 379.1 MB Notification: Performance of pre-optimization done (n=63): time 3.096e-06/0.5398, allocations: 0 / 0.56 GB, free: 15.52 MB / 379.1 MB Notification: Performance of matching and sorting (n=64): time 0.002226/0.542, allocations: 1.436 MB / 0.5614 GB, free: 14.28 MB / 379.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.542, allocations: 85.67 kB / 0.5615 GB, free: 14.18 MB / 379.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.5425, allocations: 456.4 kB / 0.5619 GB, free: 13.82 MB / 379.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.5426, allocations: 25.7 kB / 0.562 GB, free: 13.79 MB / 379.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.5428, allocations: 450.4 kB / 0.5624 GB, free: 13.43 MB / 379.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.543, allocations: 216.6 kB / 0.5626 GB, free: 13.24 MB / 379.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.543, allocations: 0 / 0.5626 GB, free: 13.24 MB / 379.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.5432, allocations: 374.1 kB / 0.563 GB, free: 12.89 MB / 379.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.5435, allocations: 265.5 kB / 0.5632 GB, free: 12.72 MB / 379.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.5442, allocations: 0.6002 MB / 0.5638 GB, free: 12.07 MB / 379.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/0.5447, allocations: 382.1 kB / 0.5642 GB, free: 11.8 MB / 379.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.5447, allocations: 4 kB / 0.5642 GB, free: 11.8 MB / 379.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001843/0.5465, allocations: 1.076 MB / 0.5652 GB, free: 10.9 MB / 379.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.5466, allocations: 8 kB / 0.5652 GB, free: 10.89 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001137/0.5477, allocations: 0.6649 MB / 0.5659 GB, free: 10.38 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000708/0.5484, allocations: 215.8 kB / 0.5661 GB, free: 10.2 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.5491, allocations: 210.1 kB / 0.5663 GB, free: 9.996 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004203/0.5534, allocations: 4.714 MB / 0.5709 GB, free: 5.34 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005994/0.554, allocations: 19.84 kB / 0.5709 GB, free: 5.32 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-05/0.5541, allocations: 45.88 kB / 0.5709 GB, free: 5.285 MB / 379.1 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.0001914/0.5543, allocations: 163.2 kB / 0.5711 GB, free: 5.121 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.5544, allocations: 63.25 kB / 0.5712 GB, free: 5.059 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/0.5553, allocations: 0.6078 MB / 0.5718 GB, free: 4.605 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.5553, allocations: 12 kB / 0.5718 GB, free: 4.594 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.5553, allocations: 0 / 0.5718 GB, free: 4.594 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.5554, allocations: 3.984 kB / 0.5718 GB, free: 4.59 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.5578, allocations: 1.426 MB / 0.5732 GB, free: 3.391 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5578, allocations: 0 / 0.5732 GB, free: 3.391 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.5585, allocations: 161.6 kB / 0.5733 GB, free: 3.238 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.5586, allocations: 8 kB / 0.5733 GB, free: 3.23 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.5586, allocations: 11.94 kB / 0.5733 GB, free: 3.219 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.5586, allocations: 4 kB / 0.5733 GB, free: 3.215 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.5586, allocations: 7.891 kB / 0.5733 GB, free: 3.207 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.56, allocations: 1.063 MB / 0.5744 GB, free: 2.277 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.5603, allocations: 185.8 kB / 0.5746 GB, free: 2.078 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.979e-05/0.5603, allocations: 11.97 kB / 0.5746 GB, free: 2.066 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.5606, allocations: 4 kB / 0.5746 GB, free: 2.062 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.5607, allocations: 48.5 kB / 0.5746 GB, free: 2.016 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.5608, allocations: 19.98 kB / 0.5746 GB, free: 1.996 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.000339/0.5611, allocations: 318.9 kB / 0.5749 GB, free: 1.684 MB / 379.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5611, allocations: 0 / 0.5749 GB, free: 1.684 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.0009128/0.5621, allocations: 213.9 kB / 0.5752 GB, free: 1.477 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0001929/0.5623, allocations: 128.4 kB / 0.5753 GB, free: 1.344 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.5639, allocations: 1.028 MB / 0.5763 GB, free: 292 kB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5639, allocations: 0 / 0.5763 GB, free: 292 kB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/0.5643, allocations: 306.8 kB / 0.5766 GB, free: 15.98 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.565, allocations: 130 kB / 0.5767 GB, free: 15.86 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.5675, allocations: 1.552 MB / 0.5782 GB, free: 14.25 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.5683, allocations: 1.084 MB / 0.5793 GB, free: 13.14 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0006329/0.5689, allocations: 229.6 kB / 0.5795 GB, free: 12.91 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.5691, allocations: 59.42 kB / 0.5795 GB, free: 12.86 MB / 395.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5691, allocations: 4 kB / 0.5796 GB, free: 12.85 MB / 395.1 MB Notification: Performance of Templates: time 0.0147/0.5838, allocations: 7.598 MB / 0.587 GB, free: 5.285 MB / 395.1 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)