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.001072/0.001072, allocations: 178.8 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.36/1.36, allocations: 194.5 MB / 212.6 MB, free: 2.953 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.00164/0.00164, allocations: 120.5 kB / 257.9 MB, free: 4.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1712/0.1712, allocations: 38 MB / 341.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003649, allocations: 8 kB / 405 MB, free: 68.51 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1086, allocations: 53.24 MB / 458.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5049, allocations: 95.05 MB / 0.5403 GB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5053, allocations: 90.47 kB / 0.5404 GB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09227/0.5976, allocations: 26.2 MB / 0.566 GB, free: 9.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5976, allocations: 0 / 0.566 GB, free: 9.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.841e-05/0.5977, allocations: 23.94 kB / 0.566 GB, free: 9.348 MB / 378.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.004363/0.6021, allocations: 1.081 MB / 0.5671 GB, free: 8.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.6022, allocations: 8.031 kB / 0.5671 GB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.6036, allocations: 159.5 kB / 0.5672 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002551/0.6062, allocations: 0.875 MB / 0.5681 GB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.978e-05/0.6063, allocations: 69.28 kB / 0.5682 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/0.6066, allocations: 83.3 kB / 0.5682 GB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.609, allocations: 1.148 MB / 0.5694 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/0.6091, allocations: 15.78 kB / 0.5694 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-05/0.6092, allocations: 31.06 kB / 0.5694 GB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.6093, allocations: 81.77 kB / 0.5695 GB, free: 6.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.6112, allocations: 1.004 MB / 0.5705 GB, free: 5.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00632/0.6175, allocations: 4.365 MB / 0.5747 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.6187, allocations: 0.6316 MB / 0.5754 GB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.6193, allocations: 329.8 kB / 0.5757 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.6193, allocations: 8.125 kB / 0.5757 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.6194, allocations: 39.06 kB / 0.5757 GB, free: 0.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.266e-06/0.6194, allocations: 3.938 kB / 0.5757 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.00357/0.623, allocations: 1.77 MB / 0.5774 GB, free: 15.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.623, allocations: 88.86 kB / 0.5775 GB, free: 15.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.6238, allocations: 0.5418 MB / 0.5781 GB, free: 14.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.825e-05/0.6239, allocations: 32.7 kB / 0.5781 GB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.6242, allocations: 447.5 kB / 0.5785 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.6244, allocations: 224.9 kB / 0.5787 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.6245, allocations: 16.69 kB / 0.5787 GB, free: 14.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.6247, allocations: 384.9 kB / 0.5791 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.6252, allocations: 293 kB / 0.5794 GB, free: 13.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.6259, allocations: 0.6108 MB / 0.58 GB, free: 13.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.6273, allocations: 0.976 MB / 0.5809 GB, free: 12.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.6273, allocations: 4 kB / 0.5809 GB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002245/0.6295, allocations: 1.177 MB / 0.5821 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.6296, allocations: 11.94 kB / 0.5821 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001351/0.6309, allocations: 0.727 MB / 0.5828 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/0.6318, allocations: 226.8 kB / 0.583 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.6325, allocations: 202.7 kB / 0.5832 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/0.6377, allocations: 4.934 MB / 0.588 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006521/0.6384, allocations: 37.39 kB / 0.5881 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/0.6385, allocations: 45.06 kB / 0.5881 GB, free: 5.293 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * 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.0006852/0.6392, allocations: 348 kB / 0.5885 GB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6393, allocations: 59.25 kB / 0.5885 GB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.6406, allocations: 0.6711 MB / 0.5892 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.6407, allocations: 15.94 kB / 0.5892 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.6407, allocations: 0 / 0.5892 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.6407, allocations: 3.984 kB / 0.5892 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/0.6438, allocations: 1.617 MB / 0.5908 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6438, allocations: 0 / 0.5908 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007339/0.6446, allocations: 168 kB / 0.5909 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.6446, allocations: 4 kB / 0.5909 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.6446, allocations: 16 kB / 0.5909 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.6447, allocations: 4 kB / 0.5909 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.6447, allocations: 7.938 kB / 0.591 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.6462, allocations: 1.036 MB / 0.592 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000325/0.6465, allocations: 188.2 kB / 0.5921 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6466, allocations: 15.94 kB / 0.5922 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.647, allocations: 19.98 kB / 0.5922 GB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.6471, allocations: 56.47 kB / 0.5922 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.6472, allocations: 20 kB / 0.5923 GB, free: 1.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006539/0.6478, allocations: 354.8 kB / 0.5926 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.6479, allocations: 0 / 0.5926 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001118/0.649, allocations: 237.9 kB / 0.5928 GB, free: 0.5742 MB / 394.7 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 () * Number of clocked 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.0002889/0.6493, allocations: 149.4 kB / 0.593 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002066/0.6514, allocations: 1.114 MB / 0.5941 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6514, allocations: 0 / 0.5941 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.6519, allocations: 328 kB / 0.5944 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.653, allocations: 142.6 kB / 0.5945 GB, free: 14.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.6568, allocations: 2.362 MB / 0.5968 GB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009406/0.6577, allocations: 1.068 MB / 0.5978 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007253/0.6584, allocations: 221.6 kB / 0.5981 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.6586, allocations: 59.42 kB / 0.5981 GB, free: 11.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.924e-06/0.6586, allocations: 0 / 0.5981 GB, free: 11.02 MB / 410.7 MB Notification: Performance of Templates: time 0.01636/0.675, allocations: 8.034 MB / 0.606 GB, free: 2.988 MB / 410.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)